Anchor up, reset and refit, repair damage... maybe trade with harbourmaster or other ships in port.