From there, Querrey hit a simple drop shot that Murray had no chance to return and let out an emphatic roar in celebration. "I'm very touched, actually, to have so much support", Federer said.
'I was pretty close today.
Federer, who will turn 36 next month, is seeking his eighth Wimbledon title.
After losing to Raonic in the Wimbledon semi-finals last year, Federer shut down his season to rest a knee injury which had already required surgery earlier in 2016.
"I've no idea what that's going to be just now". He spoke of ice baths and special treatment, but said his hip was improving every day.
Of the last two sets, he said, "It felt like he hardly misses any first serves".
This was Murray's first tour-level loss to an American player since he was beaten by Alex Bogomolov Jr.in Miami in 2011.
He has won 63 of 66 service games.
Seven-time champion Roger Federer reached the Wimbledon semi-finals for the 12th time on Wednesday with a 6-4, 6-2, 7-6 (74) win over Milos Raonic. But I just kind of stayed with my game. "You can't take that for granted", Cilic said.
The retirement, with the score at 7-6 (2) 2-0, came shortly after the 30-year-old Serb called a medical timeout.
Andy Murray objected to what he saw as casual sexism on the part of a reporter at Wimbledon and it seems the Scot has learned from the error of his own ways. But then, when I broke back in the second (set), I kind of took a deep breath, settled in a little bit. I just hope he can recover quickly and get ready for America really, or Canada for that matter. "Of course, I wish them the best, that they come back strong again".
His mother, Judy, was delighted with her son's conduct and expressed how proud she was with a series of tweets. I'm rested. I'm fresh.
"It's always calibrating the whole thing".
Such as becoming the oldest Wimbledon semifinalist since 1974.
Canadian Michael Downey announced in January that he would end his three-year rein as LTA chief executive, and has been a lame duck ever since.
There was another quarterfinal surprise later Wednesday, when three-time Wimbledon champion Novak Djokovic stopped playing because of a right arm injury while trailing 2010 runner-up Tomas Berdych of the Czech Republic 7-6 (2), 2-0.
The hip problem which had troubled him from just before the tournament proved unmanageable as the top seed was defeated 3-6 6-4 6-7 6-1 6-1 by big-serving Sam Querrey, who did for the previous defending champion Novak Djokovic last year.
"I'm still in a little bit of shock myself", Querrey said in a television interview after the match.
The reporter's question had overlooked Serena Williams and Venus Williams, among others, and Murray was having none of that.
'I think we're probably going to have to wait a few more years'.