The Captain Makes The Rules

via google

According to flight attendants, the captain is the ultimate authority once the plane takes off. They make all decisions leading the crew and decide what to do with troublesome passengers. The captain also makes the call of what happens during an emergency.

Just about the only thing the captain of a plane cannot do is arrest passengers. If there is a problem passenger, they can alert authorities, who will be waiting to arrest that person when the plane lands.