Temperamental Australian Nick Kyrgios was fined $A12,840 and lost another $A27,071 in prize money on Wednesday after storming off midway through his first-round match in Shanghai, tennis officials said.

And the 22-year-old, for whom this was just the latest in a string of controversies, could yet face further punishment from the ATP after it fined Kyrgios for unsportsmanlike conduct.

A spokesman for the body said Kyrgios was also not allowed to collect his prize money for taking part in the tournament because he failed to get signed off for a medical afterwards to prove he was unwell or hurt.

Kyrgios, whose Shanghai Masters is over after he also pulled out of his scheduled doubles match with Frenchman Lucas Pouille on Wednesday, apologised after walking off court on Tuesday after losing the first-set tie break to the American Steve Johnson.

Advertisement

In a statement posted on Twitter a few hours later he said that he had a "stomach bug" and had hurt his shoulder. The tweet later appeared to have been deleted.

The world number 21 rowed with spectators and was accused of giving away points in a defeat at the same Shanghai event last year.

The fiery Kyrgios was consequently suspended and his immediate future in tennis is again under threat following Tuesday's incident, when he hastily exited the court with jeers and boos ringing in his ears.

It came after he complained about the umpire and spectators in the arena, and was docked a point penalty for the second match running because of his conduct, which included blasting a ball out of the court in a flash of rage.

"What's happening here?" he asked, seemingly irritated by spectators moving around between points in the tie break.

"Exactly why I shouldn't come here," he muttered.

Kyrgios appeared to blame the umpire for failing to get the spectators in line and his afternoon spiralled fast when he received a point penalty.

"Poor officiating again," Kyrgios complained, and added: "Sick of this place."