section 499(3)


499(3) A person who has entered into an undertaking under subsection (2) may, at any time before or at his or her appearance pursuant to a promise to appear or recognizance, apply to a justice for an order under subsection 515(1) to replace his or her undertaking, and section 515 applies, with such modifications as the circumstances require, to such a person.