No. Removing water and completing the drying safety sequence are different functions. A drain command is not a universal way to make a hot load immediately safe to unload.
Understanding this situation
The exact model may control movement, temperature and door locking during its finishing process. Selecting an unrelated programme can leave uncertainty about what stage has actually completed.
A useful next step
Follow the manufacturer's safe interruption or completion instructions. Do not force the door or bundle hot items after merely cancelling the display. If the normal sequence cannot complete, leave the machine unused and report its status.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.