SpongeBob SquarePants
No Hat For Pat / Toy Store Of Doom
S6 E20:
Patrick wants a hat, but discovers that wearing a hat is not as easy as it looks; SpongeBob and Patrick stay in a toy store after it closes.