Homer visits the hospital after eating poison blowfish sushi that was cut incorrectly and learns he has 22 hours left to live. The doctor tells him about the 5 stages of grief that he will experience, and Homer exemplifies each one as the doctor lists them. The stages are Denial, Anger, Bargaining, Depression, and Acceptance.
Tied at 200-200 games, Stan and Roger prepare for the game that decides who will be the badminton champion. When their line judge is taken away, they try to get Hayley to fill in. The two try to accelerate Hayley through the five stages of grief so she can become a line judge for them.
Dave proceeds to deactivate HAL 9000, a sentient computer that has malfunctioned. When HAL realizes that Dave is going to deactivate him, it goes through many of the stages of grief, expressing anger and depression, attempting to bargain, and accepting its fate.