If you accidentally deleted certain tags or cards, you can easily restore them by resetting your local changes.
To reset local changes, do this:
- Go to browse in your Anki
- In the menu bar at the top, click on Ankihub
- Press reset all local changes
- Select the deck you want to reset
- Click OK
This will restore everything to what AnkiHub has unless you have specifically protected those fields