Right to Habeas Corpus

At any time, and without notice, an individual involuntarily retained by a provider, or the individual’s parent, guardian, custodian, or attorney on behalf of the individual, may petition for a writ of habeas corpus to question the cause and legality of such retention and request that the court issue a writ for the individual’s release.