Hello,
You can restore them by going back to a backup: How to Restore From Backup
The reason this happened is you need to protect these tags, this tutorial will show you how: How to Protect Personal Tags from being Overwritten
Here is more documentation on protecting tags and fields that might be of use: 🔐 Protecting Fields and Tags
Let us know if you need anything else!