Massachusetts General Laws
Chapter 275 - Proceedings to Prevent Crimes
Section 12 - Discharge From Commitment Upon Giving Security

Section 12. A person committed for not finding sureties, or for refusing to recognize as required, may be discharged upon giving such security.