Inmate rearrested after escaping from custody