Rafael Nadal loses in Shanghai Masters, ponders ending season early

Nadal's struggles continue with loss to Troicki (4:54)

Rafael Nadal's late-season struggles continue as he falls to Viktor Troicki 6-3, 7-6 (3). (4:54)

SHANGHAI -- Rafael Nadal fought as hard as he could to prolong his stay in China, but he came up short in a second-round loss at the Shanghai Masters on Wednesday.

Nadal's late-season struggles continued with a 6-3, 7-6 (3) loss to Viktor Troicki, prompting the Spaniard to contemplate shutting his season down.

Also, Andy Murray reached the third round by beating Steve Johnson 6-3, 6-2. US Open champion Stan Wawrinka and Milos Raonic advanced in straight sets.

Nick Kyrgios was booed by the crowd and admonished by the chair umpire for his lack of professionalism during a 6-3, 6-1 loss to German qualifier Mischa Zverev. The Australian floated in 67 mph first serves and argued with a fan.

The fourth-seeded Nadal struggled to create depth and pace with his forehand, a problem he attributed to the wrist injury that sidelined him for part of the season.

His goal now is to be back in peak condition for the Australian Open at the start of the new year.

"I have two months and a half to put myself at the level that I need to be," Nadal said, "and I have the confidence that I'm going to do it."

In the meantime, however, Nadal has a chance to clinch a spot in the ATP finals -- he currently sits in seventh position for the eight-man field.

"I cannot say now what I'm going do during the next month," Nadal said. "Sometimes [to] keep competing is not the solution. Sometimes the solution is practice ... and have a process of training. And maybe that's an opportunity to do it."

Other winners in Shanghai included 11th-seeded David Goffin, 13th-seeded Lucas Pouille, Jack Sock and Vasek Pospisil. Seventh-seeded Tomas Berdych lost to Marcel Granollers.

The Associated Press contributed to this report.