A surety can resign anytime by returning the accused to court or police and requesting to be relieved.