.Hello,
It sounds like you have a bad water level switch or a crack in the vacuum tube that runs from the switch. The water level switch is responible for turning the water off and switching the washer to agitate. You can test this witha meter also check the tube.
JP, May 2006