Vacuum motor problem

I ripped out one of the wires when I was changing out the brushes.  So I replaced the motor then I droped the old motor on the ground.  Then, I threw the old motor in the trash.