If a defendant is found not guilty, the bond is discharged; if the defendant pleads guilty, the bond is discharged at the time of sentencing.
498a case is a criminal case and cannot be withdrawn by the parties on their own by an out of court settlement. If she had signed the surety bond by taking the deposited amount xyz then it amounts to bribery and that she has filed a case only to extract money from you. It amounts to extortion and signing on the surety bond itself is a proof for it. The case continues what ever may be the settlement between the two of you. It can only be quashed by the High Court when she agrees before the High Court of withdrawing the case. Anticipatory Bail amount cannot be returned as you sought court protection in anticipation of an arrest. Now that you are granted bail and assured of no arrest court will not return the money.