Refactored common Ship.reset() code