It would seem reasonable that a detained person could avoid jail/detention by voluntarily waiving the trial and leaving.
You would think
Hopefully after fingerprints DNA etc has been gathered...