A washing machine usually requires a electrical unit to switch on the spin cycle.I think the part is called a condenser or a capacitor [like a silver tube with terminals at top].If condenser is faulty or connections off the unit[capacitor] the spin wont go into its cycle.
Spares can usually be had.
Joe Curran
November 2009