The rehabilitator or directors may at any time petition the circuit court of Hughes County for an order terminating rehabilitation of an insurer. The court may order payment from the estate of the insurer of such costs and other expenses of such petition as justice may require. If the court finds that rehabilitation has been accomplished and that grounds for rehabilitation under § 58-29B-31 no longer exist, it shall order that the insurer be restored to possession of its property and the control of its business. The court may also on its own motion make that finding and issue an order terminating rehabilitation.
SDCL 58-29B-40