Coco Gauff admitted that she played one of the worst matches of her career before regrouping to send her team into the United Cup semi-finals.