Seven years after he last held a racquet in competitive anger at Arthur Ashe Stadium, Roger Federer walked back onto the court on Tuesday night to a reception built for a champion, not a retiree.

The 45-year-old Swiss, who has not played a competitive match since announcing his retirement in August 2022, returned for a US Open Fan Week exhibition that organizers turned into a full-throated farewell to one of the sport's most decorated careers.

Federer opened with a one-set singles exhibition against long-time rival Andy Roddick, winning 6-3 in front of a stadium that had filled to capacity well before the first ball bounced.

He then paired with John McEnroe for a doubles set against Andre Agassi and Roddick, sealing that one too, 7-5, as four Grand Slam champions from different eras traded shots for a crowd that treated every rally like championship point.

The real spectacle came after the tennis. Once play ended, organizers launched a drone show over Flushing Meadows, filling the New York sky with silhouettes of Federer's playing motion, his familiar RF logo and the US Open trophy, before spelling out "NY loves RF" above the stadium roof.

The tribute was built specifically around Federer's history at the tournament: five US Open titles, won in an unbroken run from 2004 to 2008, a stretch that remains one of the benchmarks of the sport's modern era.

Federer, sitting alongside McEnroe, Agassi and Roddick as the drones lit up above them, rose to a standing ovation from a stadium that stayed full to the very end of the evening.

"It's great to return to New York," Federer said afterward. "I have amazing memories from this court, from the fans here and from the city."

The evening was only the start of a bigger week for Federer in New York. He is due to be inducted into the International Tennis Hall of Fame on Saturday, and will be back at Arthur Ashe the following week in a very different role, working as a commentator once the main draw begins.