law: 41. Discharge of mentally ill persons on application.-
  Any person detained in psychiatric hospital or psychiatric nursing home under an order made in pursuance of an application made under this Act, shall be discharged on an application made in that behalf to the medical officer in charge by the person on whose application the order was made: Provided that no person shall be discharged under this section if the medical officer in charge certifies in writing that the person is dangerous and unfit to be at large.