(1)Where a seaman is discharged and the settlement of his wages completed before a shipping master, the seaman shall sign in the presence of the shipping master a release in the form prescribed of all claims in respect of the past voyage or engagement, and the release shall also be signed by the master, owner or agent of the ship and attested by the shipping master.