You likely cannot unless your VPN client software & rules permit “split tunneling”. This is a security measure when you connect to a VPN that the client host cannot be used as an intermediary to pass traffic between an “untrusted” and “trusted” networks.
Another thing to note is that Hamachi is more like a remote control software like remote desktop. You are actually operating a remote computer and also have access to programs on your local computer. The VPN connection is different than remote control.
In the IT trenches? So am I – read my IT-Trenches blog