Upon satisfaction of the terms of recognizance, the accused shall be released forthwith.
In addition, where the accused is an individual receiving services in a state training center for individuals with intellectual disability, the judicial officer may place the individual in the custody of the director of the training center, if the director agrees to accept custody. The director is hereby authorized to take custody of the individual and to maintain him at the training center prior to a trial or hearing under such circumstances as will reasonably assure the appearance of the accused for the trial or hearing.
Va. Code § 19.2-123