A circuit breaker might have tripped because the total current (washer on spin and other appliances combined) exceeded the rating of the breaker (MCB).
But more probably...
An earth leakage (safety) breaker may have tripped because of an insulation fault in the machine when spinning.
Much will depend on which particular switch you had to operate to restore the power.
It would do you no harm to have the machine's motor checked over - prevention being better (cheaper) than cure.
Good luck...
Peccavi
June 2013