How Did Tony Stark End Up In Space

Fury s superiors from the world security council attempt to end the invasion by launching a nuclear missile at midtown manhattan.
How did tony stark end up in space. Endgame super bowl ad. As a result tony was left alone on titan with nebula karen gillan. And nebula also crashed her spaceship while others were fighting with thanos. As the only survivors not including thanos of the battle on titan in infinity war they have managed.
Early on in avengers. Infinity war tony was stranded on titan. Tony stark initiated the mcu with iron man in 2008. Watching him learn how to be selfless ending with his sacrifice the save the universe it was a beautiful thing to behold.
Loki uses the tesseract to open a wormhole in new york city above stark tower to allow the chitauri fleet in space to invade. He s clearly broken mentally and physically trying to send a message back to pepper potts on earth that he may not have much time left in the spaceship he s commandeered. Endgame dropped one of the things that stood out most was robert downey jr s tony stark being lost in space after losing to thanos on titan. Tony records what might be his final message to pepper and then lays down on the floor but nebula finds him and puts him to bed essentially by situating him in the cockpit in a chair.
Tony stark wasn t alone on titan at the end of infinity war nebula who arrived on the planet to fight thanos separately in her own ship also survived the snapture. On titan tony stark watched as most of the guardians of the galaxy doctor strange benedict cumberbatch and finally spider man tom holland disintegrated. The spaceship he was travelling in was crashed there. Stark intercepts the missile and in an apparent sacrifice of his own life takes it through the wormhole toward the chitauri fleet.
This thing on he asks to himself sitting alone in a spacecraft. Those fighting thanos and his outriders in wakanda were forced to watch their friends turn to dust around them. Stark taps his famous mask which is lying on the ground and looking damaged from some battle. So my question is which spaceship is this.