Melbourne, Australia -- Four times, Serena Williams was only one point - a single point - from closing out a victory in the Australian Open quarterfinals.

On the first such chance, at 5-1, 40-30 in the third set, she turned her left ankle awkwardly. The owner of the best serve in the sport would lose every point she served the rest of the way.

And so it was that a startling reversal and result would follow Wednesday at Melbourne, with Williams dropping the last six games of a 6-4, 4-6, 7-5 loss to No. 7 seed Karolina Pliskova of the Czech Republic.

Get Breaking News Delivered to Your Inbox

"I can't say that I choked on those match points," Williams said. "She literally played her best tennis ever on those shots."

The 37-year-old American didn't call for a trainer during the match and later wouldn't blame the ankle for the way everything changed down the stretch, saying afterward that it "seems to be fine."

Serena Williams waves to crowd as she exits court after losing to Czech Republic's Karolina Pliskova in Australian Open quarterfinal match in Melbourne on January 23, 2019 KIM KYUNG-HOON / REUTERS

But instead of Williams moving closer to an eighth championship at the Australian Open and record-tying 24th Grand Slam title overall, it is Pliskova who will continue the pursuit of her first major trophy.

"I was almost in the locker room," Pliskova told the Rod Laver Arena crowd, "but now I'm standing here as the winner."

In the semifinals, Pliskova will face No. 4-seeded Naomi Osaka, who advanced by beating No. 6 Elina Svitolina 6-4, 6-1 earlier Wednesday. The other women's semifinal will be two-time Wimbledon champion Petra Kvitova against unseeded American Danielle Collins.

In the men's quarterfinals Wednesday, 2016 Wimbledon runner-up Milos Raonic met No. 28 Lucas Pouille, before 14-time major champion Novak Djokovic was scheduled to face 2014 U.S. Open finalist Kei Nishikori at night.

Williams' surprising departure scuttled what would have been a much-anticipated rematch against Osaka, who beat her in the chaotic U.S. Open final last September. That, points out CBSSports.com's Kevin Skiver, featured Williams calling umpire Carlos Ramos a "thief" and accusing him of calling her a cheater.

This defeat is the earliest in Australia for Williams since way back in 2014, when she exited with a fourth-round loss to Ana Ivanovic. Since then? She won the tournament in 2015, lost in the final in 2016, and won again in 2017 while pregnant, before missing last year's edition a few months after the birth of her daughter.

As for chasing Margaret Court's all-time mark of 24 Slam trophies in singles, Williams said: "It hasn't happened yet, but I feel like it's going to happen."

The match against Pliskova was played under a stifling sun, with the temperature around 80 degrees. Williams - coming off an intense three-set victory over No. 1 Simona Halep in the fourth round - often stepped into the patches of shade behind each baseline.

She did not start well, not well at all. Her mistakes were mounting and her deficit was growing.

In the first set alone, Williams made more than twice as many unforced errors as her opponent, 11-5, a pattern that would continue throughout. By the end, the margin was 37-15.

Looking increasingly frustrated, Williams would yell at herself after mistakes or gesture as if to say, "That's NOT how I should be hitting the ball!" Add it all up, and Pliskova led by a set and a break at 3-2 in the second.

Only then did Williams get going. From there, she immediately earned her first break point of the match and converted it to get to 3-all, beginning a run in which she claimed nine of 11 games.

"You don't really feel," Pliskova said, "like you're going to win this match."

Serving for the victory at 5-1, 40-30, Williams was called for a foot fault - reminiscent of an infamous such ruling at the U.S. Open a decade ago. During the ensuing point Wednesday, Williams twisted her left ankle and dumped a forehand into the net.

She grabbed at her foot afterward, then double-faulted and would go on to cede that game.

Not a big deal, right? She still had a sizable lead.

Except that three more match points would follow while Pliskova served, and she saved each one.

"There's nothing I did wrong on those match points. I didn't do anything wrong. I stayed aggressive," Williams said. "She just literally hit the lines on some of them."

Williams would again serve for the match at 5-3 - and again get broken. The owner of the most feared and respected serve in women's tennis was broken for a third time in a row at 5-all, and Pliskova was on her way.

"She got a little bit shaky in the end," Pliskova said. "So I took my chances. And I won."

Osaka will carry a 12-match Grand Slam winning streak into the semifinals.

The 21-year-old from Japan moved closer to a second consecutive major championship by parlaying her aggressive and powerful style into a 31-11 edge in winners against Svitolina.

"For me, right now, I just try to keep looking forward. So I'm not really satisfied. Like, I am happy that I'm here, but at the same time, I want to keep going," said Osaka, who never had been past the fourth round at the Australian Open. "There is more matches to win."