Defending champion Novak Djokovic retired three games into the third set against Stan Wawrinka on Sunday at the US Open.