When adding/removing PCIe devices your NICs IDs will probably change so your PVE webUI nd SSH isn't reachable anymore because your network config won't fit with the changed NIC ID. In such a case you can connect a keyboard+display to your server, login and then find out the new NIC IDs by running ip addr
and change the old NIC IDs to the new NIC IDs by using nano /etc/network/interfaces
and then a systemctl restart networking
. Then your SSH + webUI should work again.