Despite the loss, Barty was still upbeat when she entered the press conference, a sight that has been quite rare throughout Grand Slams.

The 23-year-old was excited about the achievements she had made during the European summer which included a French Open singles title, a title in Birmingham, the world No.1 ranking and a new career best at Wimbledon.

“Disappointed right now. Obviously, it’s a tough pill to swallow. In the same breath, it’s been an incredible few months,” Barty said.

“New ground for me here at Wimbledon. This is the best we’ve done. Very proud of what we’ve been able to achieve.

“The consistency we’ve brought day in and day out has been next to none. I think that’s one of the best things about this trip.”

While the loss to Riske could've seen her lose her No.1 ranking to Czech Karolína Plíšková, she too also lost her fourth round match.

So Barty will retain top spot.

Barty arrived on court 2 against Riske having won her last 15 matches.

The Australian took the first set, which was the 21st consecutive set she had run and one that stretches back to when she dropped the opening set in her French Open semifinal.

However, there weren't many holes in Riske game to expose as the 29-year-old capitalised on Barty's uncharacteristic poor first serve and returns in both the second and third to eventually book her place in the quarter-final. 

“Today wasn’t my day, but that’s not going to define us as a team, it’s not going to define me as a person," Barty said.

"I think that’s the most important thing.”

Barty was set to play in the Round of 16 with doubles partner Victoria Azarenka on Wednesday but has withdrawn from with an arm injury. 

She will head home to "rest and recover" before heading to the United States to prepare for the last Grand Slam, the US Open.