Where the application is by or on behalf of one detained on a criminal charge, the judge or chancellor, on granting the writ, may, in his discretion, require a bail bond by or on behalf of the person detained, conditioned that he shall not escape by the way. The judge or chancellor may fix the amount of such bail, and direct who shall approve the bond; but such bail bond shall not operate to discharge the relator from custody. Such bond shall be deposited by the judge or chancellor in the clerk's office of the court in which the case is triable. If the condition of the bond be broken, the proceedings thereon shall be as in case of other forfeited bonds or recognizances.
Miss. Code § 11-43-13