s 7 Release of person remanded in custody
Any person remanded in custody under section 4 or 5 may at any time be taken before a Magistrate who, if there are no other grounds on which the person is lawfully detained— (a) shall direct his release if there is produced to him a statement in writing signed by a police officer not below the rank of Assistant Superintendent stating that it is not intended to continue with an inquiry into the case of that person under section 9; or (b) in any other case, on the application of a police officer may direct his release subject to— (i) the execution by the person of a bond, with or without sureties, for his due appearance at such place or places and at such time or times and within such period not exceeding forty-two days, as the Magistrate may direct; or (ii) the supervision of the police for such period not exceeding forty-two days as the Magistrate may direct.