To cancels all canned cycles, program: G80

It’s okay to program G80 if no canned cycles are in effect. After a G80, the motion mode must be set with G00 (or any other motion mode G word). If motion mode is not set after G80, this error message appears: Cannot use axis values without a g code that uses them.