When the defendant is not indicted or tried as herein provided, and good reasons therefor are shown, the court may order the action continued from term to term, and in the meantime commit the defendant, or, in case the offense is bailable, admit the defendant to bail, on the defendant's furnishing satisfactory sureties. When the action is dismissed, the defendant shall be discharged from custody, or, if admitted to bail, the bail shall be exonerated, and, if money has been deposited for bail, that shall be refunded.
Minn. Stat. § 611.05
(9955) RL s 4787; 1986 c 444