(b) If at any time the commissioner deems that further efforts to rehabilitate the insurer would be useless, he or she may apply to the court for an order of liquidation.
(c) The commissioner, or any interested person upon due notice to the commissioner, at any time may apply to the court for an order terminating the rehabilitation proceedings and permitting the insurer to resume possession of its property and the conduct of its business, but no such order shall be granted except when, after a full hearing, the court has determined that the purposes of the proceeding have been fully accomplished.