The appointment of the ship’s agent shall not be affected by a change of the commanding officer of the ship.