If such affidavit is not made, and it appears that any such books, papers, and property are withheld, the officer before whom the proceedings are had, shall, by warrant, commit the person so withholding them to the county jail, there to remain until that person delivers such books, papers, and property, or is otherwise discharged by law.
T.C.A. § 8-49-105