As per https://reprap.org/wiki/G-code M18 and M84 allow to disable all steppers, but is there a way to disable one particular motor without unplugging it?
Here is my use case - IDEX printer with two X steppers prints in non-ditto mode (only 1 printhead is used). X1 motor acts as X-stepper. X2 motor is not needed but is still enabled and consumes power. I'd like to disable it.