A person committed for not finding sureties, or for refusing to recognize, as required by the court may be discharged from custody by the judge who entered the order or any other judge from the same court and judicial district when the person gives the security required.
MCL 772.12