I believe he did.
By doing so, even if he didn't try to kill his teacher, he would have lost the latter's trust, making it doubtful that Wu Yazi would teach him the best Xiao Yiao martial arts such as BeiMing ShenGong, XiaoWu ...Gong, and the advanced palm techniques Ding Chu Qiu so desired.
Then Ding proceeded to waste the next 30 years of his life in the western region to look for the advanced palm skills manuals, how foolish of him.
So in conclusion, I think he would have been way better off by being a loyal student to ensure that he would gain access to his school's superior skills.
Unless the novel told the story differently of course, my knowledge comes from TV serials and what I have learned on this forum.