When guaranty capital is being retired or liquidated, if the guarantors have made their contributions in cash, a like amount of cash shall be repaid them; but if the same has been made in securities, the securities if not disposed of, or their cash value at the time of their sale if disposed of, shall be returned to the guarantor contributing them, or the return of the guaranty capital shall be made on such other terms as are agreed upon when the securities are deposited by the guarantor.
T.C.A. § 56-21-107