It unfortunately seems neither RyujinX nor Yuzu support toggling cheats while the game is running.
I suppose you only ever need the ON cheat, and just close the game, remove the cheat and relaunch to turn it off - the memory will reset anyway doing this so the OFF cheat is useless. I might be...