There’s a button you can configure in LightBurn for that as well.
Most likely what the controller button is doing is setting the power output value (the Spindle PWM value), but in M4 mode (variable power) the default behavior is to shut off the beam when the controller is not moving.