Section 338(4) in Criminal Courts - Rules and Orders
(4)Where a Magistrate has been moved by competent military, naval or air force authority, as the case may be, under rule (2), and the Commanding Officer of the accused subsequently give notice to such Magistrate that in the opinion of such authority, the accused should be tried by a Court-martial, such Magistrate, if he has not before receiving such notice done any act or issued any order referred to in rule (2), shall stay proceedings and, if the accused is in his power or under his control, shall in the like manner deliver him, with the statement prescribed in Section 549 of the said Code, to the authority specified in the said Section.