<P> Karen has noticed how much fun Jim and Pam had together during their prank on Andy; she confronts Jim and asks him if he still has feelings for Pam . Jim nods as he quietly says yes and Karen walks out the room, visibly upset . Meanwhile, corporate sends Andy to anger management where he plans to get out of the 10 - week program in five weeks through his usual charms: name repetition and personality imitation . </P> <P> "The Return" was written by Michael Schur, Lee Eisenberg, and Gene Stupnitsky, while series creator and executive producer Greg Daniels directed and Dean Holland edited . The original title of this episode was "Oscar's Return", a reference to the reappearance of actor Oscar Nunez, who had temporarily left the series after the season premiere . Nunez spent the interim working on the Comedy Central series Halfway Home . It was the last episode Daniels filmed before the Thanksgiving holiday, the start of an eight - week break for the cast and crew . </P> <P> Then - president of NBC Entertainment Kevin Reilly played Dwight's first interviewer . Ed Helms noted in the audio commentary that his mother had trouble watching a string of episodes that included "The Return" because she found his character so annoying . Helms recorded the self - recorded cellphone ring on his own personal computer . For the big anger scene, Helms actually bloodied his knuckles while punching the wall, something that took five or six takes . Steve Carell and Rainn Wilson had difficulty with their reuniting scene and had to stage it in several different ways . As part of the episode is set in one of their stores, office supply chain Staples Inc. watched the episode carefully to ensure they were not portrayed negatively; they were particularly afraid that Dwight's manner of quitting was disrespectful to the company . At the time "The Return" aired, no one was certain Helms would be returning . In early February, NBC confirmed Helms had been hired on as a series regular for the rest of the year, with the actor returning in the season's nineteenth episode, "The Negotiation". </P> <P> "The Return" was later rebroadcast with "Traveling Salesmen" as a combined hour - long episode, on March 15, 2007 . NBC added previously unaired and re-edited scenes into the episode, which was perceived by one commentator as a method to "boost the ratings during the content dearth known as repeat week, giving its replays a creative twist". Greg Daniels explained that in addition to the attempt to attract a larger audience, "it's about giving something extra to our wonderful fans...their loyalty must be rewarded somehow, and we don't have the budget for 10 million muffin baskets ." </P>

The office episode where andy punches a wall