In the scenario it is not a "risk" that the bad guys would win and strip you, if you survive, and your family of their liberty. It is a given.
It is a "risk" in the scenario that your liberty would be further eroded beyond this one "state secret".
Is your answer still fight, die, and sentence your family and everyone else to a life without liberty?
Why is the one who fights the sentencer? This is akin to blaming a rape victim.