When a defendant who has given bail appears for trial, the court may, at any time after his appearance for trial, order him to be committed to the custody of the proper officer to await the judgment or further order of the court.
Utah Code § 77-17-12