How do I delete an email without deleting my contacts?

Apparently my hotmail account is synced with all my contacts on my phone and when I tried to delete it off my phone (i got a new email) all my contacts disappeared. I tried turning off the contact sync button in the account settings but this also resulted in my contacts being deleted. I'm not sure my contacts are backed up to icloud because there wasn't enough space so I back up my phone to the computer instead. Is there anyway to get my contacts back after my email is deleted?
What about going to your Hotmail account on a computer and seeing if you can export your contacts and save them to your computer?

Original thread: https://forums.imore.com/threads/how-do-i-delete-an-email-without-deleting-my-contacts.302117/