[[quoteright:350:[[Film/ThePhantomMenace http://static.tvtropes.org/pmwiki/pub/images/r2d2_fixing.jpg]]]]

->''"Who on board is smart enough to fix the propeller, but stupid enough to go out there?"''
-->-- '''Scrooge [=McDuck=]''', ''WesternAnimation/DuckTales1987'', [[Recap/DuckTalesS1E57TheUncrashableHindentanic "The Uncrashable Hindentanic"]]

Our heroes are in an aircraft, falling. Perhaps they've been shot down, or maybe their vehicle didn't work in the first place. No need to worry, though. Someone (usually the GadgeteerGenius or MadScientist of the cast) will get everything back into working order. In mid-air. Before hitting the ground.

This can be as simple as flipping some switches (Anakin pulled this one off with his podracer) or climbing out and cranking the engine until it restarts. Of course, there's also the option of [[http://www.girlgeniusonline.com/comic.php?date=20030625 rebuilding the engine in midair]].

Depending on how fast you're falling when you finally pull out of the dive, you might be acting under the assumption that it's NotTheFallThatKillsYou.

Strangely, this can be TruthInTelevision- the pilots and crew of early cargo planes learned that certain maintenance operations could be conducted without landing if you had SuicidalOverconfidence in your grip and no fear of heights. Long-distance bombers in WWII damaged during bombing runs also had a choice between attempting this trope, or one of [[POWCamp two]] [[ShortLivedAerialEscape other]] options.



* [[http://www.youtube.com/watch?v=L2zqTYgcpfg This]] advertisement.

[[folder:Anime & Manga]]
* ''Anime/ReadOrDie'' has two examples - once in [[Anime/ReadOrDie the original OVA]], where Yomiko's paper airplane takes a nosedive off of a skyscraper because she forgot the tail, and once in [[Anime/RODTheTV the TV series]], where a crashing jumbo jet is saved by wrapping it in paper and turning it into a giant bird.
* In an episode of ''Anime/CodeGeass R2'', not only was Kallen's HumongousMecha repaired as it was falling into the ocean, it was ''upgraded''. By [[MundaneMadeAwesome shooting the necessary parts at it]] from a submarine. [[RuleOfCool In Missiles]].
* In ''Manga/AirGear'', tuner(read: WrenchWench) Kururu Sumeragi rebuilds main character Ikki's titular Cool Rollerblades. Rather than being with him when starting the fall, she ''jumps off a building to tackle him as he falls'', and proceeds to dismantle and rebuild the mass of tiny parts.
-->'''Kururu:''' How many seconds until impact?!\\
'''Ikki:''' [[TalkingIsAFreeAction Uh... Three seconds... I'd guess]]?\\
'''Kururu:''' [[OhCrap Three seconds]]?! (thinking during two-page spread of her spilling tools from her backpack) [[CrowningMomentOfAwesome In that case... I've got more than enough time!]]\\
(And Kururu ''very quickly'' rebuilds Ikki's skates.)

[[folder:Comic Books]]
* Played with in ''ComicBook/UltimateXMen'' where Jean rather sarcastically mentions to Beast that he doesn't have to do mid-air repairs when the plane is functioning fine.
* In ''[[ComicBook/JusticeSocietyOfAmerica JSA Secret Files]]'' #1, Speed Saunders does a mid-air patch job on his hot air balloon after it springs a leak while aloft.

[[folder:Film - Animated]]
* Happens in ''Disney/MeetTheRobinsons'' - the main character fixes his plane/time machine in midair by... er, rerouting some cables in the [[Franchise/StarTrek Jeffries tubes]] or something.
* Parodied in ''WesternAnimation/IceAge3DawnOfTheDinosaurs'', when Buck performs mouth-to-mouth on a pterosaur knocked unconscious by a mid-air collision.

[[folder:Film - Live Action]]
* In ''Film/TheAdventuresOfBuckarooBanzaiAcrossThe8thDimension'', the title character jump-starts his ship while it's falling toward the ground.
* When their airplane had run out of fuel in ''Film/TheGodsMustBeCrazy II'', the pilot got a bottle of wine they had with them and poured it into the fuel tank.
* In ''Riders Of The Storm'' (one of Dennis Hopper's lesser known works), one character has to crawl out onto the wing of a B-29-cum-pirate radio station to fix one of the engines inflight.
* ''Franchise/StarWars'': The Millennium Falcon is the TropeNamer for WhatAPieceOfJunk for a reason, especially in the ExpandedUniverse.
* In line with the real life example below, ''Film/{{Flyboys}}'' has a scene featuring a German bomber crewman walking out on the wing to conduct some maintenance on one of the bomber's engines. Not that it helps much in the end, as the bomber is shot down not moments later.
** The trope name is basically the job description for R2 units.
* Parodied in ''Film/HotShots'' when Topper's dad tried to make repairs to his fighter as it was crashing. This included everything from stapling sheet metal onto the nose to holding the wing on by hooking his feet to the fuselage.
* In ''Film/ThoseMagnificentMenInTheirFlyingMachines'', Orville takes Patricia up in his flying machine, and even lets her control it. But one of the wing spars breaks, so he walks out on the wing and fixes it by wrapping his belt around it, losing his pants in the process. All turns out well.
* Iron Man gets to repair [[AirborneAircraftCarrier the Hellicarrier]] in ''Film/TheAvengers2012'' film: restarting a damaged turbine, which becomes increasingly important once another (of the four) is taken out, and increasingly dangerous as he as to bring it up to speed ''inside it.''
* In ''Film/{{Octopussy}}'', Bond is clinging to the outside of an airplane. Kamal Kahn sends Gobinda out to kill Bond before he disables both engines and kills them all.
* ''Film/JumanjiWelcomeToTheJungle'': After the helicopter is damaged by gunfire and unable to ascend, Spencer climbs on to the roof to reconnect the control arm to the rotor.
* ''Film/TheFlightOfThePhoenix2004'': As part of the remake's overall ActionizedSequel modification, sequence where the ''Phoenix'' finally is made to fly includes Elliot having to climb the plane's fuselage to fix the controls as it is picking up speed in order for the plane to achieve takeoff (and having to dodge gunfire from the angry nomads chasing the group as well).

* In the UsefulNotes/WorldWarII novel ''Hornet Flight'', the hero has to refuel his plane in mid-air.
* In ''Literature/FarmerInTheSky'', by Creator/RobertAHeinlein, Bill Lermer's father explains why they have an engineer along in space, when the engine is a radioactive torch that can't be shut off in flight.
-->"There are certain adjustments which could conceivably have to be made in extreme emergency. In which case it would be Mr. Ortega's proud privilege to climb into a space suit, go outside and back aft, and make them."
-->"You mean--"
-->"I mean that the assistant chief engineer would succeed to the position of chief a few minutes later. Chief engineers are very carefully chosen, Bill, and not just for their technical knowledge."
* In the ''Literature/DoctorWhoNewAdventures'' novel ''The Dying Days'', the Doctor -- five minutes above London, downward bound and accelerating -- builds a parachute out of a helium tank and the contents of his pockets.

[[folder:Live Action TV]]
* Happens in an episode of ''Series/FatherTed'' where Ted patches up the fuel line of the plane he and Dougal are flying on.
* ''Series/StargateSG1'' had some mid-space repairs (as it turns out, Tok'ra ships are one of the most unreliable kinds of technology ever invented), often involving a RaceAgainstTheClock.
** In the Tok'ra's defense, however, they're not building the ships. They're stealing them from the Goa'uld, and as a result can't pick and choose, and can't find lots of spare parts.
** This problem isn't limited to the Tok'ra, however. The human-built ships aren't much better. For example, on the official maiden voyage of the first human spaceship, the ''Prometheus'', the hyperdrive overloaded and had to be ejected before destroying the ship (although again, in fairness, that particular hyperdrive had a very experimental power source). And the list goes on...
* Because the TARDIS is the CoolShip version of TheAllegedCar, [[Series/DoctorWho the Doctor]] has had to do this a couple of times. For example, in [[Recap/DoctorWhoS1E3TheEdgeOfDestruction "The Edge of Destruction"]], the Doctor has to fix the TARDIS before it hits the Big Bang and is destroyed, and in [[Recap/DoctorWhoS31E1TheEleventhHour "The Eleventh Hour"]], the Doctor, having almost destroyed the interior of the TARDIS with his violent regeneration, must use his Sonic Screwdriver to repair the ship enough to actually land, just before it hits Big Ben, ''[[CrazyAwesome while he's hanging out the door]]''.
* In a first season episode of ''Series/MacGyver1985'', Mac uses a map to patch his hot air balloon when it springs a leak after being shot.
** In the later episode "Rock the Cradle", Mac has to unjam the landing gear on a plane as Jack Dalton is bringing it in for a landing. He succeeds, but falls out the plane (he is wearing a parachute).

[[folder:Video Games]]
* ''[[VideoGame/LegoAdaptationGame LEGO Star Wars]]: [[http://www.youtube.com/watch?v=JgFCQoHvNgk Revenge Of The Brick]]'' has a lot of this. Considering it's LEGO. Anakin even manages to make an entire biplane, then a starfighter, '''while floating in space!'''
* ''VideoGame/BlazingAngels'' incorporates a teammate who can "heal" your craft during missions. The game tries to HandWave it by having your character perform the actual repair, while being talked through it by your teammate.
* A large part of the gameplay in ''VideoGame/GunsOfIcarus'', which features Steampunk airships fighting each others in the sky, revolves around repairing various guns and sub-systems and putting out fires (during battles).
* In ''Videogame/PlanetSide 2'', aircraft will start to plummet and catch on fire when their health is critical. A utility module, the fire suppression system, allows one to restore the vehicle from critical health and regain engine power. Many enterprising pilots have taken advantage of players inheriting the vehicles momentum when bailing by sending the aircraft in a flat spin, ''bailing out'', and repairing it from outside while falling alongside it in a ballistic trajectory, before climbing back in and flying away.
* A core game mechanic in ''VideoGame/BomberCrew'' is choosing which of your various brave, foolhardy crew will have to climb out onto the wing of your damaged bomber to repair a damaged engine or rush to extinguish a fire in the ammunition locker before you're all blown up. On top of that, there is a very real risk of your crewman saving the plane but dying from exposure, enemy gunfire, exploding equipment/ammo, or simply being swept off the wing and into the night.

* There's a hilarious example of this in ''Webcomic/GirlGenius'', when Gilgamesh and Agatha are first testing Gilgamesh's [[ThoseMagnificentFlyingMachines flying machine]] (or rather, as Agatha sourly points out, "[[http://www.girlgeniusonline.com/comic.php?date=20030623 It's a falling machine. I'm so impressed.]]") by starting from Baron Wulfenbach's airship. As they both slip into Spark-mode, their growing excitement about repairing and upgrading the ship in mid-flight almost fatally distracts them from the approaching doom.
-->'''Gilgamesh:''' There's a '''WHOLE BUNCH''' of stuff we can get rid of! '''HELP ME UNBOLT THE ENGINE!'''\\
'''Agatha:''' ...Ummm... Of course, we ''are'' still falling.\\
'''Gilgamesh:''' What? Oh, ''that''. This wire was loose.
** Tarvek is forced to do the same thing when Gil decides to save him by tossing him out of Castle Wulfenbach on the same "falling machine"... while tied up to a Spark fighting with a mad Jäger on board. He finally makes the machine fly inches from the ground.

[[folder:Western Animation]]
* ''WesternAnimation/KimPossible'' did it when her brothers, tagging along for some contrived reason, unbolted a hydraulic line in the cabin of a cargo plane. It was an easy fix, but one that would have been impossible for a number of reasons in a real aircraft.

[[folder:Real Life]]
* In RealLife, NASA does occasionally send up astronauts to repair stuff, which is kind of in midair by default and falling at an atrocious speed. Just not in danger of hitting the ground.
** The crew of Apollo 13 effected a successful repair of their craft and safely returned to Earth after one of their oxygen tanks exploded (as seen in [[Film/{{Apollo 13}} the film]]).
* In RealLife, Zeppelin crews would routinely have to do this after too many engine failures. The good news is that airships are far more forgiving of engine failures than airplanes are.
** Additionally, many older multi-engine airplanes (mostly made during/before the 1950s) were actually ''designed'' so a mechanic could access the engines mid-flight through a cramped tunnel buried in the wing. Even earlier airplanes (First World War vintage) considered it a matter of routine for the mechanic to do a wing-walk to maintain the notably finicky engines while the plane was underway. These days engines are so reliable that a breakdown is considered truly exceptional rather than uncommon.
*** Not that today's airplane engineers like to take any chances on that account: recognizing the impossibility of midair repairs on today's engines, it is required by FAA law that today's multi-engine planes have enough engine power to remain in control in the event of catastrophic loss of an engine. Maybe not enough control to get where you were planning on going, but at least enough to make your way to the nearest major airport.
*** Related to this requirement is a requirement for airliners that intend to fly transoceanic routes: Essentially, they have to be airworthy with an engine out (which is why many older airliners had four engines). The requirement allowing ''twin'' engined airliners to fly such routes is called '''ETOPS''', '''E'''xtended-range '''T'''win-engine '''O'''perational '''P'''erformance '''S'''tandards. [[FunWithAcronyms Also known as]] '''E'''ngine '''T'''urns '''O'''r '''P'''assengers '''S'''wim.
* The [[http://en.wikipedia.org/wiki/Convair_B-36 B-36 Peacemaker]] was so large that it had a passageway in its wings, which meant that, theoretically, brave crewmen could walk, ''upright'', to the engines and fix them in flight. Perhaps thankfully, this was never tested
* In 1935 a trio of airmen flew a Fokker Trimotor named "Southern Cross" from Australia to New Zealand to demonstrate the practicality of carrying airmail across the Tasman Sea. Several hours into the flight (500+ miles), the center engine's exhaust manifold broke apart, one of the pieces entering the starboard engine and disabling it. The overladen aircraft began descending. The crew turned back home and started throwing out every loose item of equipment save for the cargo. Then the port engine began losing oil. Desperate, one of the airmen suggested crawling out on a wing strut with a leather satchel to recover the fuel in the useless starboard engine and then crawling out on the other wing strut to put it in the other one. Fighting the slipstream, he performed the feat not once but THREE times in the ten hours it took to reach land!
* Accomplished by the crew of a British Airways flight that hit a cloud of volcanic ash, killing all four engines in midair. Repeated attempts to restart the engines did, finally, work at the last minute as the plane fell out of and beyond the ash cloud. This incident also produced one of the ''best'' RealLife examples of CasualDangerDialogue ever to exist, from the recording of the pilot calmly noting that all four engines were out.
* Sergeant Norman Jackson, an engineer aboard an Avro Lancaster bomber, was already wounded when he crawled out of the cockpit and over to the wing to put out an engine fire, knowing full well he could not get back in afterwards and would have to jump. His parachute opened on the way out and he kept on going. He lost the extinguisher and kept on going. Finally, he fell off, and narrowly survived the fall in a damaged parachute. He was awarded the Victoria Cross because, while he didn't succeed in saving the aircraft, it wasn't for lack of trying.
** Three years before Jackson, a Sergeant James Allen Ward did the exact same thing in his Wellington bomber: when the starboard engine caught fire, he tied a rope to himself, and punched holes in the Wellington's fabric wings for handholds, and managed to climb out to the engine and smother the fire with a blanket--and then he ''climbed back in'' and flew the plane home.