Was this a restart within the VM instance? Or was this a restart of the entire VM host?
VMware ESXi users haven't experienced this behavior. And I've only encountered similar on Hyper-V in two cases:
1. Restarting the VM host, resulted in loss of IP config
2. NIC went bad, so after VM restart to refresh hardware, IP config disappeared
In both of my cases, loss of IP config was seen, but the license was still present.