This concern 2.7 and master, not checked on 2.6.
just open any config you like.
- get out of estop
- start machine
- home all axis
- go to mdi
- enter S1500 M3
active gcode show M3
spindle stops, but M3 remains active, but should change to M5!
The same happen with cooling button.
Norbert