Shut off the house circuit breaker for the dishwasher if you want to unplug it. The water inlet should be replaced if the tub continues to fill. The main power board assembly should be replaced if filling stops.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.