If your ship is destroyed, you lose some of your treasure and return to a home port. You can re-equip yourself and return to sea to regain your position.