When the inputs of UNL2003 are all 0 then the stepping motor will be stop.
Edit:
I forgot to mention that you could measure the voltages from the output Pins of ULN2003.
Stepper Motor Forward And Reverse Testing circuit. (ULN2003)Is there not an error in the way the ULN is being used to drive the stepper?
VCC is 5.0V
Inputs to ULN are either 5V or 0V
The ULN is physically disconnected from GND and the motor is still turning with low torque.
Puzzled..
When the output of ESP32 is low as 0V and the input of ULN2003 still keep at high, it will caused the E(2003) at 2.1V and the E(2003), Vce, Coil to +5V has voltage difference as 2.9V, it may provides the coil a current to run, you could try to use a 4.7K connected from E(2003) to +5V, I'm not sure it that enough to provides a high level for E(2003) or not, but you still could try it, even smaller from 4.7K, 3.9K, 3.3K, 2 7K ... 1K.2) Pin 8 of the ULN2003 is at 2.1V relative to ground ---- this is in keeping with the low torque behavior of the motor when its driver is supposed to be "disabled"
Edit:
I forgot to mention that you could measure the voltages from the output Pins of ULN2003.