(1) The court finds that the person is no longer affected by a qualifying mental disorder, or, if so affected, no longer presents a substantial danger to others and is not in need of care, supervision or treatment; or
(2)(a) Each offense for which the person is found guilty except for insanity is a misdemeanor; and
(b) The court finds that the person does not present a substantial danger to others that requires commitment. [1971 c.743 §45; 1977 c.380 §6; 1981 c.711 §4; 2011 c.724 §5; 2017 c.634 §9; 2019 c.329 §5]