The master of the vessel must at all times remain in command of the vessel and neither the master nor any person under the master’s command may, while the vessel is under pilotage, in any way interfere with the navigation or movement of the vessel or prevent the pilot from carrying out his or her duties, except in an emergency, where the master may intervene to preserve the safety of the vessel, cargo or crew and take
whatever action he or she considers reasonably necessary to avert the danger.