Pre-prepared spells. These were originally put in bottles, and to keep.
And set the ship started to charge the FTL drive to charge, before putting the ship used the door control to shut down. Life support went down last, leaving us 18 minutes until our sensors were unable.