A trustee may resign:
In approving a resignation, the court may issue orders and impose conditions reasonably necessary for the protection of the trust property.
Any liability of a resigning trustee or of any sureties on the trustee's bond for acts or omissions of the trustee is not discharged or affected by the trustee's resignation.