The 2 most common part(s) or condition(s) which cause the symptom Washer stops mid cycle are listed below starting with the most likely. Check or test each item and watch any available videos.
RepairClinic Item # 1194900
If the washer stops mid cycle the water inlet valve cold water side may have failed. Most washers have a cold water rinse and so if they can't fill with cold water they just sit indefinitely waiting for the cold water to enter. If there is cold water to the water inlet valve and the cold water works in other parts of the cycle - or to make warm water - the valve is not the problem.
RepairClinic Item # 1550101
If the washer stops mid-cycle the main control board might be defective. This is not common. Check other causes first such as the lid or door switch and other components.