(CNN)Serena Williams was forced to retire from her third-round match at Indian Wells after complaining of "extreme dizziness."
'Extreme dizziness' forces Serena Williams out of Indian Wells
The 23-time grand slam champion won the first three games of her much anticipated clash with Spain's Garbine Muguruza in the California desert.
But she lost the next seven games and was trailing 3-6 0-1 when she called it a day.
"Before the match, I did not feel great, and then it just got worse with every second; extreme dizziness and extreme fatigue," Williams was reported as saying on the tournament's official website.
"By the score, it might have looked like I started well, but I was not feeling at all well physically. I will focus on getting better and start preparing for Miami."
A Tweet from tournament organizers later said Williams was suffering from a "viral illness."
Williams was competing in her first tournament since exiting the Australian Open at the quarter-final stage in January.
She was in fine form as she defeated former world No.1 Victoria Azarenka in the second round on Saturday.
Muguruza, a two-time grand slam champion ranked 20th in the world, will face seventh seed Kiki Bertens in the Indian Wells fourth round.