Take off the front cover at the bottom of the dishwasher to expose the wiring. Use a voltage meter to test the wires at the dishwasher to ensure the power is still off. Remove the electrical box from the unit. Unscrew the wire nuts and pull apart the wires. Start with the green wires, white and then black.
Disconnect the drain line from the dishwasher and the water supply line from the dedicated dishwasher stop.
Open the door to the dishwasher, then remove the screws secured to the underside of the countertop. Raise the legs using a wrench. Slowly pull out the dishwasher ensuring the wires are out of the way. Also, the drain line should come out with the dishwasher from under the sink. Tip: Place a drop cloth or piece of cardboard in front of the dishwasher to prevent scratches on the floor. Also, before turning electricity back on, make sure to tape or cap off the ends of the three exposed wires.