Click around and solve a puzzle. Escape the ship and save your friend! (Make sure to click the flag twice if resetting.)
Thanks to Jonochrome (or Jonbro) for the inspiration.