What would happen if an airplane passenger refused to leave and the other passengers refused to deplane?

Well, we’d likely have a bit of an impasse! However, the pilot could always make an emergency landing to get the situation sorted out. Alternatively, if the other passengers were feeling particularly daring and brave, they could try to talk the passenger down and convince them to leave peacefully.