He was down 0-4 and 1-5 in the third set against Medvedev. He saved a match point and went on to win five straight games to take the match in a tiebreaker.
He has been battling injuries and was rusty throughout much of the match but came up with his best at the end. Tomorrow is an elimination match for Federer-Djokovic. Been a while since the Tour Finals was this interesting.