Unless proceedings for hospitalization under court order have been initiated under subchapter IV of this chapter, a hospital, upon the written request of a patient hospitalized pursuant to section 21-513, shall immediately release him.
D.C. Code § 21-514