Section 215(2) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(2)If transferred to another ship temporarily, it shall not be necessary for a Commodore to have an appointment to such ship; but if it be found necessary for him to remain in such latter ship, an appointment shall then be made to the ship in which he is borne.