Hass.io configuriation messup and dead sd-card

So I installed hass.io on a RPI3. Next, I installed ssh and samba addons. Now I shut it down (using ssh and the cli) and put it in my basement to run because I assumed I wouldn’t need a screen anymore.

Next, I made some more changes over samba and rebooted the pi. I guess there was a configuration because it wouldn’t boot anymore. Samba, ssh and the webclient were not working. I pulled the plug (couldn’t otherwise?), moved it back up into my living room and connected it to a screen. Notting happened and the screen kept black. I pulled the sd-card and put it in my pc. My PC wouldn’t recognize it, so I guess it is dead?

This has happened twice now, so i’d really like some tips on how to handle this the next time.

Thanking in advance.