Roger Federer pulled out of next month’s Shanghai Masters on Friday because of injury with the former world number one insisting he needs to rest after a gruelling year. “After consultation with my team, I’ve unfortunately decided to pull out of the Shanghai Masters (Oct 9-16) in order to take some necessary time to rest and recuperate after a long summer,” Federer wrote on his website. “I have some nagging injuries that I need to address and I look forward to returning to the ATP World Tour as soon as possible. I have very fond memories of Shanghai so I will miss this amazing tournament and all my loyal Chinese fans, but I look forward to returning to China next fall.”