Section 141(3) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(3)Where the circumstances are such which render the removal of an officer from the command of a ship essentially necessary for the public service and are so urgent as not to permit a prior reference to the Chief of the Naval Staff, the Flag or Senior Officer may direct the removal of the officer from command, reporting the circumstances immediately to the Chief of the Naval Staff.