The value of any security held by a secured creditor shall be determined in one of the following ways, as the court may direct:
The determination shall be under the supervision and control of the court with due regard for the recommendation of the liquidator. The amount so determined shall be credited upon the secured claim, and any deficiency shall be treated as an unsecured claim. If the claimant shall surrender his security to the liquidator, the entire claim shall be allowed as if unsecured.
40 P.S. § 221.43