The determination by a circuit court that a licensee is subject to involuntary admission or judicial admission as provided in the Mental Health and Developmental Disabilities Code operates as an automatic suspension. Such suspension shall end only upon a finding by a court that the patient is no longer subject to involuntary admission or judicial admission and issues an order so finding and discharging the patient; and upon the recommendation of the Board to the Secretary that the licensee be allowed to resume his practice.