ssh – I installed a VPN onto a VM, and now I can’t connect to it


So I installed a (private tunnel open)VPN onto a google compute engine VM. Which was my goal, to ensure that any of the VM’s activity on the internet would be encrypted.

However, immediately as it was installed I lost connection to the VM. Now I can’t ssh back into the machine.

Does anyway know how I could keep the VPN on a VM, yet still maintain access ?