(1) Where, at the time of the presentation of a petition on which, or by virtue of the presentation of which, a person became a bankrupt, a person was apprenticed, or was an articled clerk, to the bankrupt, the sequestration order or, in the case of a debtor's petition, the presentation of the petition is, if the apprentice or clerk or a person acting on his or her behalf gives notice in writing to the trustee that the apprentice or clerk elects that the indenture of apprenticeship or articles of agreement be discharged, a complete discharge of that indenture or those articles.
(2) Where such an indenture or such articles are so discharged and any money has been paid by or on behalf of the apprentice or clerk to the bankrupt as a fee, the trustee may, on application by or on behalf of the apprentice or clerk, pay out of the property of the bankrupt, to or for the use of the apprentice or clerk, such sum as the trustee thinks reasonable, having regard to the amount paid by or on behalf of the apprentice or clerk and to the time during which he or she has served with the bankrupt under the indenture or articles and to the other circumstances of the case.
(3) The trustee shall, on the application of an apprentice or articled clerk to the bankrupt, or of a person acting on his or her behalf, execute a transfer of the indenture of apprenticeship or articles of agreement to some other person.