No a plane doesn't stop in midair, planes need to keep moving forward to remain in the air (unless they are VTOL capable). What it can do is simply turn around or go over/under the obstruction. VTOL means vertical takeoff and landing. It essentially means they can hover in place like a helicopter.