Grub lost on updating 26.04

I have just run sudo apt update on a VM of Xubuntu-26.04 and completely lost the /etc/default/grub file; it simply disappeared!
Before rebooting I reinstalled all the grub packages that synaptic showed to be installed andnoticed that thankfully the missing file was restored but now with its default content which I always edit so the grub menu shows at every boot.
What on earth could have caused this to happen?
Anyone else seen anything similar to this recently.