If the accused runs away after bail is posted, whoever posted the bail will forfeit the amount of the bail. Making matters worse, the accused will also be charged with bail jumping which is a felony in the State of New York. A warrant will then be issued for your arrest. If one decides to run away, there is not much your Criminal Defense Attorney Buffalo NY will be able to do.
If the accused returns to court, bail will be refundable at the end of the proceedings. The only additional note here is that the court may reduce the bail money returned to you if there are any outstanding fees due. If, however, your Criminal Lawyer in Buffalo NY resolves the case, then you will not have any outstanding court fees which means the entire bail amount should be returned to you.