(4)The master shall be released from the obligation imposed by sub-section (1), and if his ship has been requisitioned, from the obligation imposed by sub-section (2), if he is informed by the persons in distress or by the master of any ship that has reached the persons in distress that assistance is no longer required.