Parrot somehow manages to get stuck inside coffee pot

This lovebird likes to play in the cupboards. One day, her owner managed to find her stuck inside a coffee pot. How did she get in there?!