If you posted the full bail amount with the court yourself, this money will be released to you at the conclusion of the court process, provided the defendant appeared at all required court dates.
If you elected to use a bail agency to post your bond, the agency is initially responsible to the court for the bond amount. The defendant and indemnitors are responsible to the bail agency for the premium and any fees or additional expenses incurred by the agency on their behalf. These monies are earned at the time the defendant is released from custody and therefore not subject to return. This is the case even if the defendant is found innocent, the case is dismissed or the defendant is placed back into custody for another offense.