Discharge from suerity

Hello dear sir/ madam! Hope you are doing well. I need a legal advice regarding a matter, hope you will show me a way. Actually I am a suerity in a criminal case, the accused and his lawyer has misguided me by saying that they have withdrawn my suerity from the court. It came into my knowledge that it is not the reality when the honorable court blocked my salary and my CNIC. Now I want to release myself from this precarious situation, and to a little of my knowledge I know that I have to present the accused in the court and another option is to pay the suerity amount. I want to avail the second option, but I don't know how to pay the suerity amount. Should I need to apply through a lawyer, should I hire a lawyer or the current lawyer who is leading the case of the accused will do it??? One thing more, the current lawyer is telling me not to appear in front of the honorable judge because he may launch my arrest orders. Now I am worried that how the judge is going to react and is he going to dismiss me from my service.