It seems that there is a bug. Once you enter in the pantry you can not leave
I wasn't able to replicate it, friend! Thought it's quite possible you have not eaten all the food inside, which would then allow you to exit.
yeah that also happens a lot to me if you dont go straight from the start to kitchen then pantry, it just soft locks you in it
Ah, I think I got it, it should hopefully be fixed now!