Change the URL of a docker-machine

I created a machine via docker-machine create -d azure --azure-static-public-ip. But what I did is I intentionally changed the public IP address of that VM. With this move, I can not docker-machine ssh or any docker-machine related command. Seems like it’s still sending request to the previous public ip. How can I change that IP and convert it to the new one? I tried regenerate-certs and even changing the config.json but nothing happened…

The only way I saw fixing this is to reverting back the previous public IP of that VM