This would be a control board issue, pull the panel apart and check for burned connector and circuit board overheating. If the control boards are showing signs of heat damage you may have a defective drive motor as well.
make sure that it didn't stop because of an unbalanced situation
as it is draining it should be turning slowly and as soon as it empties the spin speed picks and and the unbalance stops the machine
(1) The tub bearing is mounted in the middle of the outer tub. The tub bearing helps to keep the inner tub spinning smoothly. Replacing the tub bearing is a very involved repair and will require disassembling most of the washer. If the tub bearing is defective, i recommend replacing both the outer tub and bearing.
IT is very difficult to explain all the procedure here by this window. If you wish to know more, visit the site linked here. Pull up older posts.
http://homenol.blogspot.com/