Oh yeah, I expect a bus driver to be akin to a captain of a boat at sea.
The captain of a boat at sea can legally detain a person until the boat is docked and the proper authorities are there to take over.