In the case of any person hospitalized under who has been judicially committed to the Secretary’s custody, the Secretary shall, upon the discharge or conditional release of such person, or upon such person’s transfer and release under , notify the committing court of such discharge or conditional release or such transfer and release.section 324 of this titlesection 323 of this title