Nick Kyrgios risks a heavy fine after going into a sulk and appearing to stop trying during his Wimbledon fourth-round match against Richard Gasquet.

The 20-year-old Australian downed tools early in the second set of the clash on Court Two, where he also was given a ticking off for swearing and rowed with British umpire James Keothavong over a change of socks.

It was the code violation for an “audible obscenity” that seemed to spark the petulance from Kyrgios, who was a break down when Keothavong warned him over his coarse language.

Kyrgios was booed by hundreds of fans who rightly felt short-changed by his lack of effort, and it barely improved as he gave up the second set in just 24 minutes.

From 5-5 in what was an absorbing opening set, Gasquet was given a helping hand as he extended his run of games to seven in succession before Kyrgios stopped the rot.

Wimbledon 2015 - in pictures Show all 74 1 /74 Wimbledon 2015 - in pictures Wimbledon 2015 - in pictures Day 13 Novak Djokovic celebrates with the Wimbledon title alongside beaten finalist Roger Federer GETTY IMAGES Wimbledon 2015 - in pictures Day 13 As per usual, Djokovic eats a bit of the SW19 grass in celebration GETTY IMAGES Wimbledon 2015 - in pictures Day 13 Novak Djokovic celebrates winning Wimbledon GETTY IMAGES Wimbledon 2015 - in pictures Day 13 Novak Djokovic wins a point GETTY IMAGES Wimbledon 2015 - in pictures Day 13 A downbeat Roger Federer reacts in the final GETTY IMAGES Wimbledon 2015 - in pictures Day 13 Novak Djokovic plays a strong return GETTY IMAGES Wimbledon 2015 - in pictures Day 12 Williams and Muguruza show off their respective winner and runner-up trophies Getty Images Wimbledon 2015 - in pictures Day 12 Serena Williams with the Wimbledon title Getty Images Wimbledon 2015 - in pictures Day 12 Muguruza and Williams embrace after their Wimbledon final Getty Images Wimbledon 2015 - in pictures Day 12 Serena Williams celebrates winning a point against Garbine Muguruza in the Wimbledon final Getty Images Wimbledon 2015 - in pictures Day 12 Serena Williams celebrates winning a point against Garbine Muguruza in the Wimbledon final Getty Images Wimbledon 2015 - in pictures Day 11 Roger Federer rolled back the years to produce a brilliant display to set up a final against Novak Djokovic Getty Images Wimbledon 2015 - in pictures Day 11 Andy Murray reacts after losing a point to Roger Federer Getty Images Wimbledon 2015 - in pictures Day 11 Novak Djokovic celebrates after easing into the final with a win over Richard Gasquet Getty Images Wimbledon 2015 - in pictures Day 11 Richard Gasquet rarely troubled Djokovic in a straight sets defeat Getty Images Wimbledon 2015 - in pictures Day 10 Serena Williams celebrates victory over Maria Sharapova in the semi-finals GETTY IMAGES Wimbledon 2015 - in pictures Day 10 Garbine Muguruza clinches semi-final victory GETTY IMAGES Wimbledon 2015 - in pictures Day 9 Roger Federer celebrates his win over Gilles Simon GETTY IMAGES Wimbledon 2015 - in pictures Day 9 The players embrace after the match GETTY IMAGES Wimbledon 2015 - in pictures Day 9 Andy Murray celebrates his win over Vasek Pospisil GETTY IMAGES Wimbledon 2015 - in pictures Day 9 The Dutchess and Duke of Cambridge look on GETTY IMAGES Wimbledon 2015 - in pictures Day 9 David Beckham and son Romeo watch Andy Murray GETTY IMAGES Wimbledon 2015 - in pictures Day 9 The roof over Centre Court closes during Murray's quarter-final match GETTY IMAGES Wimbledon 2015 - in pictures Day 8 Jamie Murray on his way to the men's doubles semi-finals GETTY IMAGES Wimbledon 2015 - in pictures Day 8 Madison Keys pictured in her defeat to Agnieszka Radwanska GETTY IMAGES Wimbledon 2015 - in pictures Day 8 Maria Sharapova celebrates after coming through her tough quarter-final match against Coco Vandeweghe GETTY IMAGES Wimbledon 2015 - in pictures Day 8 Garbine Muguruza celebrates her quarter-final victory GETTY IMAGES Wimbledon 2015 - in pictures Day 8 Novak Djokovic on his way to victory against Kevin Anderson after their fourth round match resumed GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Roger Federer was in complete control throughout his three-set victory over Bautista Agut Getty Wimbledon 2015 - in pictures Day 7 Caroline Wozniacki on her way to defeat against Garbine Muguruza Getty Wimbledon 2015 - in pictures Day 7 Andy Murray in action against Ivo Karlovic GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Ivo Karlovic in action against Murray GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Murray in action in his fourth round tie on Centre Court GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Andy Murray in action against Ivo Karlovic GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Nick Kyrgios clashes with the umpire during his defeat to Gasquet GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Maria Sharapova during her fourth round win GETTY IMAGES Wimbledon 2015 - in pictures Day 7 Serena is congratulated by sister Venus after their fourth round contest GETTY IMAGES Wimbledon 2015 - in pictures Day Six Andy Murray was in real trouble for a short time against Andreas Seppi and needed a medical timeout to work on his shoulder Getty Images Wimbledon 2015 - in pictures Day Six But the Scot rallied and won six games in a row to march into the fourth round Getty Images Wimbledon 2015 - in pictures Day Six James Ward is cheered off by the home support after losing an epic battle with Vasek Pospisil Getty Images Wimbledon 2015 - in pictures Day Six Defending champion Petra Kvitova leaves the court in tears after shock defeat to Jelena Jankovic Getty Images Wimbledon 2015 - in pictures Day Six Angelique Kerber was upset by Garbine Muguruza, who was seeded 10 places below the German Getty Images Wimbledon 2015 - in pictures Day Six No 5 seed Caroline Wozniacki made quick work of Camila Giorgi Getty Images Wimbledon 2015 - in pictures Day Six Marin Cilic needed five sets and a 12-10 tie-break to beat American John Isner Getty Images Wimbledon 2015 - in pictures Day Six Roger Federer Eased to a win over Sam Groth Getty Images Wimbledon 2015 - in pictures Day Six Wimbledon darling Dustin Brown packs up after defeat to Viktor Troicki Getty Images Wimbledon 2015 - in pictures Day Five Serena Williams celebrates her triumph over Heather Watson GETTY IMAGES Wimbledon 2015 - in pictures Day Five Heather Watson wins a point in the third set GETTY IMAGES Wimbledon 2015 - in pictures Day Five Serena Williams reacts to losing a point GETTY IMAGES Wimbledon 2015 - in pictures Day Five Grigor Dimitrov was knocked out after losing to Richard Gasquet GETTY IMAGES Wimbledon 2015 - in pictures Day Five Maria Sharapova celebrates her win over Irina-Camelia Begu Wimbledon 2015 - in pictures Day Four Tennis world number 102 Dustin Brown has shaken Wimbledon by knocking out two-time champion Rafael Nadal Wimbledon 2015 - in pictures Day Four Roger Federer plays a cheeky shot during his second round win over Sam Querrey GETTY IMAGES Wimbledon 2015 - in pictures Day Four Petra Kvitova celebrates her second round win GETTY IMAGES Wimbledon 2015 - in pictures Day Four The Duchess of Cornwall meets Rafa Nadal GETTY IMAGES Wimbledon 2015 - in pictures Day Four Adam Lallana of Liverpool at Wimbledon with Game of Thrones star Kit Harington GETTY IMAGES Wimbledon 2015 - in pictures Day Four Andy Murray in second round action where he beat Robin Haase in straight sets GETTY IMAGES Wimbledon 2015 - in pictures Day Four Wimbledon fans feel the heat GETTY IMAGES Wimbledon 2015 - in pictures Day Three Milos Raonic of Canada serves to Tommy Haas of Germany during their singles match AP Wimbledon 2015 - in pictures Day Three Grigor Dimitrov of Bulgaria reaches for the ball trying to return to Steve Johnson AP Wimbledon 2015 - in pictures Day Three Heather Watson impressed to beat Daniela Hanutchova in straight sets Getty Images Wimbledon 2015 - in pictures Day Three Novak Djokovic eased into the third round with a win against Jarkko Nieminen, who played his last game at the tournament GETTY IMAGES Wimbledon 2015 - in pictures Day Two Defending champion Petra Kvitova made light work of Kiki Bertens, dropping just one set Getty Images Wimbledon 2015 - in pictures Day Two Heather Watson booked her place in the second round but upsetting No 32 seed Caroline Garcia Getty Images Wimbledon 2015 - in pictures Day Two Laura Robson played her first Grand Slam match in 17 months but lost to Evgeniya Rodina Getty Images Wimbledon 2015 - in pictures Day Two No 10 seed Rafa Nadal was given some problems by Tomaz Bellucci but prevailed Getty Images Wimbledon 2015 - in pictures Day Two Roger Federer was excellent as he beat Damir Dzumhur in straight sets Getty Images Wimbledon 2015 - in pictures Day Two Getty Images Wimbledon 2015 - in pictures Day One A blue tit stole the show early on the first day of the tournament BBC Wimbledon 2015 - in pictures Day One Serena Williams made hard work over her victory over Margarita Gasparyan Getty Images Wimbledon 2015 - in pictures Day One Novak Djokovic boked his place in the second round with a 6-4 6-4 6-4 win over Philipp Kohlschreiber Getty Images Wimbledon 2015 - in pictures Day One Liam Broady produced a brilliant fightback from two sets down to beat Marinko Matosevic - a man ranked 43 places above him Getty Images Wimbledon 2015 - in pictures Day One Maria Sharapova was impressive in beating Britain's Johanna Konta Getty Images Wimbledon 2015 - in pictures Day One Kei Nishikori reacts after the No 5 seed struggled to a five-set win Getty Images

His childish attitude, though, could bring with it a cost.

International Tennis Federation rules state: “A player shall use his best efforts to win a match when competing in a grand slam tournament. Violation of this section shall subject a player to a fine up to 20,000 US dollars (£12,860) for each violation.”

Additionally, the rules state: “In circumstances that are flagrant and particularly injurious to the success of a tournament, or are singularly egregious, a single violation ... shall also constitute the major offence of ”aggravated behaviour“ and shall be subject to the additional penalties hereinafter set forth therefor.”

That allows the ITF to impose a penalty of 250,000 US dollars (£160,000).