When any person, who is surety in a recognizance for the appearance of any defendant before any court in this state, desires to surrender the defendant, he shall, by delivering the defendant in open court, be discharged from any further responsibility on such recognizance; and the defendant shall be committed by the court to the jail of the county, unless he shall give a new recognizance, with good and sufficient sureties in such amount as the court may determine, conditioned as the original recognizance.
Neb. Rev. Stat. §§ 29-905