Bart's Nightmare is the forty-third Simpsons short and originally aired on The Tracey Ullman Show March 26, 1989.
Marge discovers there is only one cookie left and tells Homer. They go to investigate who ate the cookies. Bart is then laying on his bed with cookie crumbs all over him. Then he falls asleep and has a nightmare with ominous heads of Homer, Marge, Lisa, and Maggie appear and say quotes from The Shell Game. Bart then is on a kitchen floor and is very small and desprate for cookies. The cookie jar falls and angry Homer appear to Bart telling him he didn't do it. Then his family wakes him up telling him he had a nightmare. Homer offers Bart a cookie only to have Bart scream.