If the dishwasher has no power supply, this can result in it getting stuck on the wash cycle. This is something that is easy to check. Your home should have either a fuse box or a circuit-breaker box with controls for the power in the entire house. For a breaker box, look for a tripped breaker; for a fuse box, look for a blown fuse. If you discover either of these, you need to reset the breaker or replace the blown fuse.
If your kitchen sink has a food-waste disposal, then a backup in it can cause the dishwasher to get stuck in the wash cycle. Clearing the blockage in the disposal can solve this problem. All you need to do is run water in the disposal and turn it on to clear the food waste that is backing it up. Once you do this, the dishwasher should be able to get out of the wash cycle.
Drain Hose Kink
If the drain hose from the dishwasher has gotten moved and has a kink in it, then this can be to blame for the problem. You can usually find the hose by looking under your sink by the dishwasher. If you see a kink, straighten it out so that the dishwasher can drain properly. Doing this will resolve the stuck wash-cycle problem.
Dishwasher Drain Blockage
Stop the dishwasher by pressing the “Cancel” button, if you have not already, so that you can open it up. It is possible that you have some food or other stuff blocking the drain in the bottom of the dishwasher. Since you probably have a pool of water in the bottom of the dishwasher right now, use a utensil to move around the drain to see if you find anything that needs dislodged. If not, try pouring some household drain cleaner in to remove the clog from the drain. If this does not work to clear it out, you should consult with a local plumber for assistance.