§ 24–709. Release of patient.
(a) When the head of the hospital to which the patient is committed finds that the patient appears to be no longer in need of confinement for treatment purposes, or has received maximum benefits, he shall give notice to the judge of the committing court, and said patient shall be delivered to the said court for such further action as the court may deem necessary and proper under the provisions of §§ 24-701 to 24-711.
(b) The court, upon petition of the patient after confinement for 1 year, shall inquire into the refusal or failure of the head of the hospital to release him. If the court finds that the patient is no longer in need of care, treatment, guidance, or rehabilitation, or has received maximum benefits, it shall order the patient released, in accordance with the provisions of § 24-710.