No, it should work, what it will do is once your code has run it will put Mach into reset, you will need a M30 at the end of your code I think and remember that there has to be a next line started in your code file after the M30 or Mach will not see the M30 as the block has not been ended.
Hood.