If a defendant fails to comply with the undertaking, he or she may be arrested on a warrant issued from the court in which the case is pending or the conviction was had. The court may thereupon order a forfeiture of the undertaking and that the defendant be tried or committed in execution of the sentence, or for good cause shown, may release the defendant upon a new undertaking.
SDCL 25-7-26