Washer won't drain or spin, Bad timer?

Our washer was off balance (in spin cycle) and came to a halt. I have removed items from it, still some water in it. It (the agitator) runs through the wash cycle and also the rinse cycle, but, when it’s time to drain and spin it stops completely, you cannot hear the timer running, and does not restart later. It’s like it thinks the cycle is over. My suspicion is the timer has gone bad, any other ideas? Thanks