(3)Where the master of a ship is required under this Part to provide for the return of a discharged seaman to a proper return port, the master may, instead of providing the seaman's passage or the expenses of his journey or of providing the seaman with means to pay his passage or those expenses, deposit with the proper officer such sum as that officer considers sufficient to defray the expenses of the return of the seaman to a proper return port.