Any person who has been, or shall be, committed to any institution or facility providing mental health services, or has been determined to be a danger to himself, others, or property, or determined to be an incapacitated individual as defined in N.J.S. 3B:1-2, by order of any court or by voluntary commitment and who was, or shall be, discharged from such institution or facility as recovered, or whose illness upon discharge, or subsequent to discharge or determination, is substantially improved or in substantial remission, may apply to the court by which such commitment was made, or to the Superior Court by verified petition setting forth the facts and praying for the relief provided for in this act.
N.J.S. § 30:4-80.8