Disconnect the drain hose and let it fall into a bucket....if the machine drains now, then its an obstruction in the waste trap under the sink.
If it still doesn't drain, then its a pump issue (blocked or not running), filter blockage, kinked hose or similar.
John