Most wiper motors have a thermal cutout, which will switch the motor off, if its overloaded.
So keep the window wet (plenty of water) and check the linkages for a tight spot, lubricate (WD40) any tight spots and try again.
Or it just might be a loose connection/bad switch/fuse holder