A hungry elephant looking for some snacks ended up stuck after barging into a grocery store in Thailand.

Video footage from Nakhon Ratchasima in northeast Thailand shows the elephant, a 25-year-old bull named Plai Biang Lek, using his trunk to help himself to some snacks on June 2. However, the escapade turned into a challenge when its huge arched back became wedged on the low roof.

Video shows Plai Biang Lek moving through the aisles trying to figure out how to escape the situation.

Fortunately for the wild animal, the shopkeeper was nearby and managed to usher him back to the road outside, Reuters reported, citing Viral Press.

“Business was a bit slow that day," the shop owner Khamploi Kakaew told CNN. "Around 2 p.m., the elephant just walked right up. I came out and tried to shoo it away. I told it not to come closer."