Novak Djokovic's US Open title defence came to an end after he retired injured while two sets down to Stan Wawrinka.
The crowd on Arthur Ashe were stunned when the world number one approached Wawrinka and embraced him while trailing 6-4 7-5 2-1.
Djokovic has been bothered by a left shoulder injury all week, although it was not apparent during the opening two sets with Wawrinka reprising the sort of form which made him the champion in 2016.
But the Serbian took a medical time-out after dropping the second set, and three games into the third he decided enough was enough.
"It was the left shoulder," Djokovic confirmed.
"I congratulate Stan. He's a great player. I really wish him all the best the rest of the tournament.
"I don't want to talk about my injuries. I said that in the past. I'm sticking to that.
"I'm sorry for the crowd. Obviously they came to see a full match, and just wasn't to be. That's all it is."
The result means Wawrinka will face fifth seed Daniil Medvedev in the quarter-finals, while the draw has opened up for Roger Federer, who was in imperious form against David Goffin and had been expected to run into Djokovic in the last four.
Earlier, Medvedev revelled in his role as the villain of the tournament after beating Dominik Koepfer to reach the quarter-finals.
The Russian, who caused a stir by sticking his midle finger up at the crowd in a 'visible obscenity' two nights earlier, was jeered as he strode onto court in Louis Armstrong Stadium.
The majority of the spectators were firmly behind German qualifier Koepfer when he went a set and a break up.
But Medvedev eventually won 3-6 6-3 6-2 7-6 (2), before goading the crowd again with his celebration and then saying in his courtside interview: "Guys, continue to give me this energy. You are the best."
ESPN commentator Pam Shriver, referring to the mutual respect shown between Naomi Osaka and Coco Gauff 24 hours earlier, said: "The women are being so well behaved, and the boys are just misbehaving. Boys will be boys."
Federer lays down marker
Roger Federer laid down a marker by dismantling David Goffin to reach the quarter-finals of the US Open.
The third seed dropped just four games, winning the last nine on the trot, for a brutal 6-2 6-2 6-0 victory in just an hour and 21 minutes.
If Britain's Dan Evans was feeling bad about the manner of his third-round defeat to Federer, he can surely take some comfort from the fact he won one more game than Goffin, the 15th seed.
Federer had looked susceptible in his opening two matches, dropping a set in both, but now he is cruising through the gears, motoring towards what looks likely to be another semi-final against Novak Djokovic.
Goffin, who actually broke Federer's serve early in the first set, won just seven points in the third, the Swiss finishing him off with a stunning backhand pass down the line.
Federer, looking for a 21st grand slam title, said: "David didn't have his best day, he was struggling.
"I was down in the score early and I was getting to down on myself, but when I got up a break I felt he wasn't playing the same way I know he can play.
"It was a great day and I'm very happy."
Federer will face Grigor Dimitrov, the former world number three, in the last eight.
Bulgarian Dimitrov beat Alex De Minaur of Australia in straight sets, 7-5 6-3 6-4.