The Wrestler

Robin Ramzinski, better known by his ring name Randy "The Ram" Robinson (Mickey Rourke), is a professional wrestler who became a celebrity in the 1980s. Now past his prime, Randy wrestles on weekends for independent promotions in New Jersey while working part-time at a supermarket under Wayne (Todd Barry), a demeaning manager who mocks Randy's wrestling background. A regular at a strip club, Randy befriends a stripper, Cassidy (Marisa Tomei), who, like Randy, is too old for her job. After winning a local match, Randy agrees to a proposed 20th anniversary rematch with his most notable opponent, "The Ayatollah" (Ernest Miller), which could bring him back to stardom.
Randy intensifies his training, which includes steroid injections. After wrestling in a hardcore match, Randy suffers a heart attack backstage and undergoes coronary artery bypass surgery. His doctor tells him that his heart can no longer handle the stress of wrestling. As a result, Randy decides to retire and begins working a full-time shift behind the supermarket's deli counter.
At Cassidy's suggestion, Randy visits his estranged daughter Stephanie (Evan Rachel Wood), whom he had abandoned when she was a child, but she rebuffs him and is living her own life. While helping Randy buy a gift for Stephanie, Cassidy reveals that she has a son. Randy makes romantic advances toward her, which she rejects on the grounds of her job. Later, Randy gives the gift to his daughter and apologizes for abandoning her. The two bond over a visit to a beachfront boardwalk, where he took her as a child, and agree to meet for dinner on the coming Saturday. Randy goes to Cassidy's strip club to thank her, but she once more rejects him, resulting in a heated exchange. Upset, Randy goes to see a wrestling match and finds solace in his wrestling friends. While at a bar with them, he gets drunk, snorts cocaine and has sex with a woman in the women's restroom. He sleeps the entire next day and misses his dinner with Stephanie. He goes to her house to apologize, but she angrily tells him she never wants to see him again.
At the deli counter, a patron recognizes Randy as the wrestler, though he denies it. The customer persists, which agitates Randy, who then cuts his hand on the deli's slicer and goes into a rampage in the store, hurling abuse at Wayne and the customers. Spurred by the fan's recognition of him and with nothing left, Randy decides to return to wrestling and reschedules the rematch with The Ayatollah. He reconciles with Cassidy, though she begs him not to wrestle because of his heart condition. However, Randy explains to her that he belongs in the ring with the fans who, unlike the rest of society, love him.
As he wrestles, Randy begins to feel chest pain and becomes unsteady. The Ayatollah notices this and urges him to initiate the pin. Randy refuses, however, and climbs the top rope for his signature finishing move, a diving headbutt called the "Ram Jam". He looks over and sees Cassidy has left. In tears, he salutes the crowd and leaps from the ropes.

Question: What happened when Randy was wrestling?
Answer: Felt chest pain and became unsteady.; Felt chest pain and became unsteady.