A raccoon apparently attempting to score a free snack wound up getting trapped inside a vending machine at a Florida high school on Wednesday and had to be freed by animal control. “This gentleman was apprehended today while committing a burglary of a vending machine at Pine Ridge High School,” wrote the Volusia County Sheriff’s Office on Facebook.

Volusia County Sheriff’s Deputy Danny Clifton Busted.

“We think he made it in through the bottom door,” sheriff’s spokesman Andrew Gant told HuffPost in an email. According to Gant, multiple students, along with a sheriff’s deputy who was already on the school campus, spotted the raccoon inside the machine and the deputy contacted animal control.

Volusia County Sheriff’s Deputy Danny Clifton The raccoon was freed from the machine unharmed, though it's unclear if he actually scored any good eats.

A video posted by the department Wednesday afternoon shows the raccoon being sprung from the machine ― which had been wheeled outside ― and scampering to freedom.