1997 jeep cherokee wipers stopped working

I asked what burned up the motor. The mechanic said the bolts that held the motor in place came out. One of them got jammed in the one of the arms of the wipers, thus preventing the wiper blades to move back to the park position. The motor kept running and burned itself out.