A bail agreement is terminated when the person is sentenced, or acquitted, or the charges are withdrawn [Bail Act 1985 (SA) s 20].
In other words, once a bail agreement has been applied for and entered into, it continues, unless at some time a review of bail is applied for by the police or the Crown, or the agreement is revoked - until the charge against the person has been decided.