Pegula's win, in the final group one round-robin match, meant Gauff was knocked out of the season-ending championships.