The issue here is that, the docker you started was not using systemd/systemctl but rather:
sudo dockerd -H gridsim1103:2376
which means that you cannot stop it using systemctl command, and the result you see is expected.
You should start docker using systemd/systemctl as that is the standard or correct way to start up docker.
$systemctl enable docker
$systemctl start docker
The first command basically tell docker to startup every time you boot into the host.
To stop the docker process that is already running you can just press ctrl + c or send a kill signal to it.
OR
if you were using snap instead you try these commands:
$sudo snap stop docker
$sudo apt purge snap
Hope this helped :)
Docker can be tough to learn without oversight or professional help. Try docker training course , you will be taught by industry veterans who have set out to help other to learn docker.