The court may terminate a receivership:

(1) Upon a motion by any party to the petition, by the department, or by the receiver, and a finding by the court that the deficiencies and violations in the facility have been substantially eliminated or remedied; or

(2) If all residents in the facility have been provided alternative modes of health care, either in another facility or otherwise.

­­

­

The court may immediately terminate the receivership, or may terminate the receivership subject to such terms as the court deems necessary or appropriate to prevent the conditions complained of from recurring.