The deputy learned the vehicle's rear hatch had been left open overnight, and the javelina had climbed in to raid a bag of Cheetos that was left inside the car.
The animal's antics inside the vehicle caused the rear hatch to close, trapping the javelina inside.
The javelina's attempts to escape the car led to it being shifted into neutral, rolling out of a driveway and crossing a road before coming to a stop under some trees.
The deputy opened the vehicle's rear hatch, allowing the javelina to escape unscathed. The animal caused damage to the car's dashboard and the interior of the passenger side door.