Key-in direct command "set grid toggle" V8i version

See attached picture of the key in command and structure. It will not toggle the grid? I need some Ideas on the problem, when and if possible.

When it is on, it will not toggle OFF.or when ON, it will not toggle off.