Well you need a law, or recission of laws. Right now, if a passenger trys to get off of a plane without permission, the passenger will get arrested. You do not have the right of free movement so you are, in effect, a prisoner, on the plane.
There needs to be a law that keeps one from being a criminal if they try to exercise their freedom while being held in custody on a plane.