Stopping docker host on windows using task manager or command prompt

I have the same problem for Windows 10 Pro version. Whan Docker worked I can’t work with ports that using Docker… How to fix this problem ? For what you create Button that dosen’t shut down the Docker ?