If/when any of my friends get attacked by the mob, I hope I'll have the courage to stand by them publicly. A good recent test was the doxing of Scott Alexander. I signed the open letter against it with my real name and was happily surprised to see the names of many people I know. We should have more of these small but visible acts of resistance that let like-minded people find you.
Better that you stay employable so you can lend a financial hand if they aren't and protect your psychological health so you can be there for them in other ways.
So sure, pray for the courage to throw yourself physically in front of an unstoppable train... but also pray for the wisdom to know better. :)