You cannot toggle off a cheat code in Guitar Hero III: Legends of Rock. The game has no built-in cheat management menu—once a cheat is entered (via the “Cheats” screen in Options), it stays active for that session/profile.
If you already used it and want a clean slate, delete the save (Options → Delete Save Data) and begin fresh. The muscle memory you build will last longer than any cheat.