If, by the disclosure, it appears that the property in the hands of the supposed trustee was mortgaged, pledged or subject to a lien to indemnify him against any liability or to secure the performance of any contract or condition and that the principal defendant has an existing right to redeem it, the court may order that, upon the discharge of such liability or the performance of such contract or condition by the plaintiff, within such time as the court orders and while the right of redeeming exists, such trustee shall deliver the property to the officer, to be by him held and disposed of as if it had been attached.
14 M.R.S. § 2714