Common reasons water stays in the drum
The drain hose can kink or clog with lint, so water has nowhere to go. Many washers also have a small filter near the pump. Coins, socks and lint collect there and block the flow.
If both are clear, the pump itself may have failed. You may hear a hum with no water moving, or hear nothing at all.
Safe first checks
Unplug the washer before you touch anything. Then look behind it for a bent or crushed drain hose and straighten it if you can. Check that the hose is not pushed too far down the drain pipe.
If your manual shows a pump filter, put towels and a shallow pan down first. Water will come out when you open it. Clear out what you find and close it firmly.
When standing water means call
If the drum is still full after these checks, stop there. Do not keep running cycles, because that can strain the motor and make a mess. A failed pump needs to be replaced, and that is a job for a technician.
Do not try to lift or tilt a heavy washer full of water. Bail out what you safely can with a cup and towels. Then book a repair.