Section 124(1) in The Code of Criminal Procedure, 1973
(1)When a person for whose appearance a summons or warrant has been issued under the proviso to sub-section (3) of section 121 or under sub-section (10) of section 123, appears or is brought before the Magistrate or Court, the Magistrate or Court shall cancel the bond executed by such person and shall order such person to give, for the unexpired portion of the term of such bond, fresh security of the same description as the original security.