maytag washer

when trying to wash with any other cycle than cold, after pressing the start button water starts than shuts off in a few seconds.