A police officer may have had a medical episode, causing him to lose control of the squad car carrying a prisoner, according to authorities.