Assuming you start a docker with name
docker run -ti --name NAME DOCKER_IMAGE
You can check if the docker is still active
docker ps
You can try to start the docker again if it is not active
docker start NAME
If docker is active, you can connect to it via
docker exec -ti NAME bash
You can delete the docker name if it is no longer active
docker rm NAME