Section 378(2) in Bharatiya Nagarik Suraksha Sanhita, 2023
(2)If the person so delivered is accused of any offence, the trial of which has been postponed by reason of his being of unsound mind and incapable of making his defence, and the inspecting officer referred to in clause (b) of sub-section (1), certifies at any time to the Magistrate or Court that such person is capable of making his defence, such Magistrate or Court shall call upon the relative or friend to whom such accused was delivered to produce him before the Magistrate or Court; and, upon such production the Magistrate or Court shall proceed in accordance with the provisions of section 371, and the certificate of the inspecting officer shall be receivable as evidence.[Similar to Section 339 from Old CrPC-Also Refer]