If any person, bound in a recognizance to appear, appears accordingly, but fails or refuses to enter into a new recognizance, similar to and of the purport and effect of the previous recognizance, for the person's appearance at the next term, the person shall be deemed to have surrendered to the sheriff, and shall be in custody until the person enters into such recognizance as is by law required upon surrender by bail in like cases.