The inmate, deputy and guard, in going from and to the penitentiary, and while remaining at the court, are respectively liable for an escape or attempt to escape under part 4 of this chapter, §§ 39-12-103, 39-13-304, 39-16-201, 39-16-402, 39-16-403, and title 39, chapter 16, part 6, in the same manner as they would have been if the inmate were in the penitentiary under their custody.
T.C.A. § 41-21-310