I accidentally stepped on one in my kitchen 20 years ago. I still shudder remembering the little crunch it made. I was thoroughly traumatized. And my roommates were all vegans, so I didn't want to tell them what happened. I just had to quickly remove the corpse and live with my secret shame.
It didn't scare any of the mice off, though. We had put the entire contents of our kitchen in mason jars, trying to starve them out. But then they started nibbling book edges. I had to convince the roommates that my mom's cats were gentle and lazy enough that they wouldn't hurt any mice, but might scare them off with their scent. Luckily it worked, and I was the only one to ever kill a poor mouse for the duration of our tenure there.