I don't know what nmcli
is, but ifconfig eth0 down
does the same. Except in all data centers where I rented servers there was some kind of IP-KVM for just this kind of situation. Or for when you somehow broke your server so much it doesn't boot any more.
@grishka nmcli is the cli for NetworkManager, mainly used – on servers – by enterprise linux (rhel/rocky/alma). most linux distributions have deprecated ifconfig for ip, I pretty much only see it on BSD these days