If you found your washer full of water at the end of the cycle you may have a clogged drain pump filter. On most new front load washers the access panel is located on the lower front panel.
Whirlpool built Duet washers drain pump is actually located behind the lower front panel. If your unit is on a pedestal pull the drawer out and look for the screws along the bottom panel, if your washer is not on a pedestal tip the unit back to see the several quarter inch screws. Once the screws are removed the panel will slide down and off gaining access to the drain pump filter.
Tools to clean the drain pump filter
¼ inch nut driver
Hose clamp pliers
With the lower panel removed, the washers drain pump housing will be visible, It’s located in the middle front of the unit.
With your hose clamp pliers, pinch off the hose going into the back of the drain pump, this will stop the water in the drum from rushing out when the filter is pulled forward.
With your towels lined up around the pump slowly twist the handle and pull the filter out. There will be some residual water in the pump and it may have an odor.
Clean the drain pump filter of the foreign debris and assembly the unit back together. Set the washer to a fill cycle, let run until full then power the unit off and set it to the drain/spin cycle. This will ensure all the debris has been removed from the filter. If the unit drains great, if it still does not repeat process until the pump is clear.