VPNs are program that run while in the background, which means you’ll have to shut the VPN software both by way of Home windows’ process supervisor or manually quitting the application on the Mac.
A guide https://cybersecuritywavez.com/guides/how-to-change-vpn-on-iphone/