This chapter does not limit a person's right to obtain a writ of habeas corpus.
Tex. Health and Safety Code § 462.006