Is sweep used to mean the same thing in the next two sentences?

Please sweep the floor.

They were swept up by the events.
different meanings