Short circuit in DIY brushed DC motor
The motion of the rotor generates a voltage that opposes the supply voltage. That limits the current when the motor is turning. Just before the motor starts to turn, the current is limited only by the resistance of the winding wire and the internal resistance of the battery. Therefore you must prevent the motor from being connected to the battery but not turning. In that case, the current could damage the motor or battery.