I practice in Washington and you will need a lawyer in Pennsylvania. Here we file a motion to exonerate bail and it is commonly done at the end of a criminal case. However if you paid a bondsman you will have to read the contract for the procudure with regard to the bondsman.