The switch which is operated by the float in the event of a leak, operates the drain pump & switches off the water valve.
If you taken off the connector block to this switch then the drain pump should stop running.
If it does still run at this point, then the electronic module is damaged.
If the drain pump doesn't run at this point, then the little microswich above the float is faulty.
Bernii
March 2011