Section 487(2) in Bharatiya Nagarik Suraksha Sanhita, 2023
(2)Nothing in this section, section 478 or section 480, shall be deemed to require the release of any person liable to be detained for some matter other than that in respect of which the bond or bail bond was executed.[Similar to Section 442 from Old CrPC-Also Refer]