"Have you tried turning it off and back on?"
On a serious note, have you tried manually retracting and redeploying the underground legs? That might make the game realize that the spacecraft isn't underground and pop it out. Also, I don't see a way to return to orbit. Is this a one way mission?