Any such trust may be terminated by agreement of the trustee, or if there be more than one, then all of the trustees, and the governing body of the beneficiary, with the approval of the governor of the state of Kansas if such beneficiary is an agency of the state of Kansas: Provided, That such trust shall not be terminated while there exists outstanding any contractual obligations chargeable against the trust property, and no such obligation shall ever by reason of such termination, become an obligation of the beneficiary of such trust.
K.S.A. 58-2438