N.Y. Mental Hygiene Law § 22.11
(iv) Emergency contacts.
(v) Notice of admission and discharge procedures.
2. Discharge procedures. All minors admitted pursuant to this subdivision shall be discharged in accordance with the following:
(ii) If discharge is requested prior to completion of a minor's treatment plan, such minor must request discharge in writing.