That's okay.
You can still get home, save Elaine, and win the game.
There are two quasi-different endings to the game depending on whether or not you sunk the ship. Save your game, and try it both ways.