After having testified, the prisoner shall be remanded to the prison from which he was taken.
N.C. Gen. Stat. § 17-46