Network-manager openconnect does not change my public ip address

I just tried to connect to Cisco any-connect VPN through network-manager or command line.
When I use sudo openconnect <server_address> command in command-line I see my public IP address has been changed to VPN server address.
But with network-manager (by creating an open-connect/Cisco VPN connection through the wizard) my public IP address won’t change after connecting to VPN.
Why this happening? Doesn’t the second way tunnel my traffic through VPN?