Victoria Azarenka was forced to retire after getting injured in the middle of her second-round match.