A bond is in effect until the defendant completes his obligations to the court. This usually means that it ends when the defendant appears in court and case is concluded.