Dear all, many thanks for your responses!
I will never make the same mistake again. I did remove the SD card countless times before, and there were no problems. But now I understand that the risk is too high.
BTW, what is the average lifespan of the SD card, assuming that the NIntendo Switch...