Why this is the answer
ITU-R M.1171 says the ship station should comply with the coast station's instructions on the order and time of transmission, the choice of frequency, and the duration and suspension of work (§ 24(1)). Between ships, the station called controls the working, but a coast station may intervene (§ 24(2)). The station called may propose another channel, but in coast-to-ship working the coast station finally decides (§ 21(2) and (3)).
For distress, No. 32.45 gives the coordinating role to the rescue coordination centre, which may appoint another station, and on-scene communications are controlled by the unit coordinating search and rescue (No. 32.56). IMO guidance asks ships to obey shore stations' instructions and, when told to stop transmitting, to stay silent until told otherwise, because the coast station may be receiving distress or safety messages.