nmcli disconnect without turning wifi card off?
LANG=C nmcli d
DEVICE TYPE STATE CONNECTION
wlan0 wifi connected connectioname
eth0 ethernet unmanaged --
lo loopback unmanaged --
Here you can see the name of the connection as connectionname
.
To disconnect, run nmcli con down id connectionname
.