A year ago he was fined $US10,000 for unsportsmanlike conduct after hitting two balls out the stadium and quitting mid-match against Steve Johnson in the first round of the tournament.
It's the third year on the bounce in Shanghai that Kyrgios has departed the tournament in controversial circumstances.
Lahyani took the unusual step of climbing down from his chair and having a lengthy chat with Kyrgios when he was showing little effort as he trailed by a set and 3-0 down against against Pierre-Hugues Herbert.
Four American players pulled off upsets at the Shanghai Masters on Monday. Dumusois then underlined to Kyrgios what he exactly meant: "You know exactly what I meant, Nick".
"That's enough. I don't want to talk about that any more", Dumusois said. "You have no right to tell me that it's poor", he told the French official.
Kyrgios has a chequered history at the Shanghai Masters after quitting mid-match against Steve Johnson in the first round a year ago and being accused of tanking in a second-round loss to Mischa Zverev in 2016.
"But there is still a process in place that he needs to do like any other player needs to go through in order to be successful", he added.
The Shanghai Masters has been a particularly unhappy hunting ground for Kyrgios over the years, with this being the fourth year in a row that he has stoked controversy at the competition.
The Swede climbing down from his chair in NY to have a lengthy chat with Kyrgios when he was showing little effort as he trailed by a set and 3-0 down against Pierre-Hugues Herbert.
The match didn't go unnoticed as chair umpire Damien Dumusois appeared to be accusing Kyrgios of tanking at the beginning of the second set - which didn't sit well with the Australian. Australian doubles great Todd Woodbridge said the scheduling of Shanghai, a compulsory tournament at the tail-end of the season, seemed to be a problem for Kyrgios.
Woodbridge suggested that Kyrgios was probably running on empty, which made him look disinterested and that he should look to manage his schedule better next year and concentrate on the Grand Slam and elite tour events.
"I think we're two very different characters", said Kyrgios following his defeat to the Swiss at the US Open.