Restricted by injury following a medical timeout, and having dropped the first set, Novak Djokovic needed to reach into his deep bag of tricks.