How long do I have to abide by the terms of the bail bond?
Generally the bond is exonerated at the defendants sentencing hearing. Which means that the bond company and cosigners liability is ended. An example is kind of like voiding a check.
The important thing to remember is that the bond is to assure the defendant appears in court and forfeiture of the bond has nothing to do with the defendant being innocent or guilty. The courts do not cash the bond based on the outcome of the plea or sentencing of the case. This means that if the defendant accepts a plea deal, is found innocent or loses at trial and get sentenced to jail time the bond is not forfeited. Likewise should the defendant be bonded out of jail and the district attorney not file charges or drop the charges the full premium is still due and if there was a payment plan all payments are still full due to the bond company. The full premium is earned the moment the bond is posted.