Freeman has a greater risk because she is a woman. Women weren't treated very well and weren't allowed to fight in the war. If they found out she was a woman she wouldn't be free.
Since the moment you are free and take a position, take a side, automatically you are assuming you against the other side, even if you do not say anything. Being a black woman is a thosand times even worse if it was a man. Recalling that the situation between British and Americans was not so good we can see the problem becomes even worse.