When the bail has served its purpose, the surety will be exonerated (i.e., released from the obligation). Exoneration normally occurs when the proceeding is terminated in some way or on the return of the defendant to custody. After conviction, the defendant appears for sentence. If sentenced to jail confinement or imprisonment the defendant is committed to the custody of the sheriff, and the liability of the surety/s’ is discharged.