Yu Maoheng was extremely indignant after learning about it, regardless of his own safety. Resolutely bring Liang Yong's crime of enslaving people and enriching himself to court and demand that it be brought to justice. However, Liang Yong was a red man in front of Zongshen, and he gave Zongshen so many gold, silver and jewels every year that even Zongshen was surprised. Therefore, Zongshen thinks that Liang Yongte is honest and capable, and highly appreciates that Yu Maoheng's letter didn't work, but was reported by Liang Yong's eunuch cronies in Beijing. Liang Yong therefore bears a grudge against Yu Maoheng. Afraid of being exposed, he instructed his cronies Le Gang to bribe Yu Maoheng's chef. He poisoned Yu Maoheng, but fortunately he was rescued in time and died after he escaped from danger.
In the first month of the following year, Yu Maoheng turned a blind eye to the fact that Liang Yong bribed the chef to harm himself, and talked about Liang Yongzhi's crimes to the utmost. Some loyal ministers in Beijing also impeached Liang Yong, saying that officials had attacked (Liang Yong) dozens of times. However, Shenzong was blinded by Liang for a long time and didn't believe it at all. When Yu Maoheng saw this scene, he presented Zongshen with the captured stolen goods and the confession of Liang Yong's minions, which was irrefutable evidence, making Zongshen unable to protect him any more. He had to revoke Liang Yong's official position in Shaanxi tax supervisor, and still let him return to the capital to supervise horses. Soon, Yu Maoheng also returned to his hometown.