I always wondered how Batgirl (or any other masked superheroine) would react if someone (evil) would unmask her?

The Situation: Batgirl fights with a villain. With some dirty tricks he manages to unmask her! He says that he recognize her as Barbara Gordon…but after the shock she somehow gains the upper hand and beat the villain unconscious. But what now? He knows who she is, he could figure out names and addresses of friends and family. Everyone she knows would be in real danger. She could let him be arrested, but he could talk to some people (police and inmates) and her secret would be no more… She could leave Gotham City, quit crime fighting, but that wouldn’t help much either (friends & family would stay). And the villain would use his knowledge of her secret identity to hurt her. And there is no fancy, crazy gadget available to erase his memory or something like that….
I would say I’m a pragmatic man, the only available solution to me would be: Kill the villain! I know that members of the Bat family don’t “normally” do that. But, she doesn’t have another choice in my eyes. She must protect herself and her friends and family. And she saves civilians with her crime fighting. That kill would save many lives in the future.,,,
What about you folks? Do you see other options, that she could have? Let the discussion begin! 😉