When they may depart. – (1) A person so summoned and attending shall, unless the Court otherwise directs, attend at each hearing until the suit has been disposed of.
(2) On the application of either party and the payment through the Court of all necessary expenses (if any), the Court may require any person so summoned and attending to furnish security to attend at the next or any other hearing or until the suit is disposed of and, in default of his furnishing such security, may order him to be detained in the civil prison.
For Complete Code of Civil Procedure, 1908 Bare Act. Click here.