Why this is the answer
The duty and its two triggers are in Nos. 32.16 to 32.18 of the Radio Regulations. A ship that hears a MAYDAY on channel 16 which no coast station or vessel acknowledges within five minutes must acknowledge it and use any means available to relay it to a coast station (No. 32.29A). Where coast stations are within reach, ships first give the coast station a short interval to acknowledge (No. 32.29).
The form depends on the shore: if a coast station keeps an aural watch and voice contact is reliable, the relay goes by radiotelephony to that coast station or rescue centre (No. 32.19D); otherwise an individual DSC relay addressed only to that station may be used (No. 32.19G), and after continued failure a voice relay to all ships (No. 32.19H). After a DSC alert from the casualty, a DSC relay to all ships is forbidden (No. 32.19C).