If it’s only the folder that got removed, you can try recreating it with the following commands:
mkdir /root
chown root:root /root
chmod 0700 /root
You can then go ahead and reboot the server as well as restart webmin after running the above commands.
In Virtualmin, run Recheck configuration
and if everything passes, try accessing Tools > File Manager
again.