Try pressing and holding the start button for a few seconds – programme should cancel. Shutting the door will let the drain pump run for approximately a minute. You should then be able to re-programme the machine.
If no joy, check that the door latch is not in the closed position.