As Joe undergoes coronary artery bypass surgery, the producers of "NY/LA" realize that the best way to recoup their money and make a profit is to bet on Gideon's dying: the insurance proceeds would result in a profit of over half a million dollars. As Gideon goes on life support, he directs extravagant musical dream sequences in his own head starring his daughter, wife, and girlfriend, who all berate him for his behavior; he realizes he cannot avoid his own death, and has another heart attack. As the doctors try to save him, Joe runs away from his hospital bed behind their backs and explores the basement of the hospital and the autopsy ward before he allows himself to be taken back. He goes through the five stages of grief — anger, denial, bargaining, depression and acceptance — featured in the stand-up routine he had been editing, and as he gets closer to death, his dream sequences become more and more hallucinatory. As the doctors try one more time to save him, Joe imagines a monumental variety show featuring everyone from his past where he takes center stage in an extensive musical number. In his dying dream, Joe is able to thank his family and acquaintances as he cannot from his hospital bed, and his performance receives a massive standing ovation. Joe finally dreams of himself traveling down a hallway to meet Angelique at the end, but the film then abruptly cuts to his corpse being zipped up in a body bag.