(a) If the necessity exists, the court may immediately accept the resignation of a personal representative and appoint a successor representative.
(b) The court may not discharge a person whose resignation is accepted under Subsection (a), or release the person or the sureties on the person's bond, until a final order has been issued or judgment has been rendered on the final account required under Section 361.001.