Novak Djokovic won his seventh China Open title after Australia's Alex de Minaur retired with a groin injury during the final on Tuesday.
De Minaur left the court for a medical timeout after losing the first-set tiebreak but played on with his left thigh heavily bandaged.
However, he had to stop after winning the first game of the second set, leaving him trailing 7-6(3) 0-1.
"I don't feel great ... I want to say sorry to all the amazing fans," said de Minaur at the trophy presentation.
"I didn't want to finish like this... hopefully see you next year," added the 27-year-old fifth seed.
Sixth-seeded Djokovic's win continued the Serbian's unbeaten record at the tournament with 34 straight victories and ensured the 39-year-old won a singles title for the 21st straight year.
"I'm really sorry for the way you had to finish today and I really hope that you can recover quickly," Djokovic told De Minaur.
The two had gone toe to toe in the first set, targeting the baseline to pressure each other.
De Minaur almost broke Djokovic in the fifth game but the Serbian saved the break point with a full-stretch backhand down the sideline.
De Minaur held firm but his error count increased during the tiebreak to hand the first set to Djokovic.
An exhausted Djokovic also needed treatment during the break and the 39-year-old was surprised when De Minaur signalled the end of the match.
"This year has been quite challenging for me, lots of ups and downs, physical and health issues," Djokovic said.
"So I just tried to find a good feeling on the court, and obviously I know that when I'm striking the ball well I can still compete at the highest level."

Injured Swiatek goes down fighting in Wuhan Open semi-final
Barcola shines as Liverpool labour to win over Brentford
India, West Indies draw T20 series after rain washes out decider
Haaland double helps Man City win, Neto brace cheers Chelsea
Davidovich Fokina ousts top seed Zverev to reach Shanghai Masters final
