Whirlpool Washer Not Draining or Spinning

My Whirlpool washer fills with water, agitates, and then stops. It does not drain or spin. I hear the timer click to the next cycle and then nothing. The timer does not finish the cycle, it just stops.

I checked the lid switch with an ohm-meter, and it works. I checked the tube from the basin to the pump, and the drain tube, and neither are plugged.

Is it a bad timer, or something else?