Any person detained pursuant to this chapter shall be entitled to the writ of habeas corpus upon proper petition by self or a friend to any court generally empowered to issue the writ of habeas corpus in the county in which the person is detained.
No person may bring a petition for a writ of habeas corpus that alleges that a person involuntarily detained pursuant to this chapter is no longer a person with an intellectual disability subject to institutionalization by court order unless the person shows that the release procedures of division (H) of section 5123.76 of the Revised Code are inadequate or unavailable.
R.C. § 5123.88