Pegula took back the momentum by winning the first three games of the second set before Gauff dug in her heels, saving three set points in the 10th game to level it at 5-5
Russian eighth seed Mirra Andreeva seemed to be joining Rybakina through the exit door but she regained her composure to down Spain's Marina Bassols Ribera 3-6 6-1 6-1