@Royassas well spotted, and sorry for the wasted time! I’ve accepted your edits to the Gcode page.
It probably would have helped if sending M452 with no parameters reported the current settings, then you would have seen the frequency was not changing, but M451/452/453 were originally defined (not by us) to have no parameters. So they switch modes without any. M450 reports the mode (CNC/laser/3D printer) but not the parameters. I’ve asked @dc42 if he can add parameter reporting to M450.
Ian