If the Collector finds that any sum is due to the mortgagee by way of compensation under clause (b) of Section 12, he shall require the mortgagor to deposit the amount in such manner as may be prescribed ; and on deposit of the amount he shall declare the rights of the mortgagee extinguished and require the mortgagee to deliver possession of the...