Not a woman, but i'm gonna take a stab.
There is no right answer to this question. If you realize you accidentally violated someone's personal space/values/autonomy through a misunderstanding,
If they feel like forgiving you, they can probably help you with the best way to repair that specific relationship.
TL;DR - Don't try to ask all women what would be the right thing to do so you "know" in advance, ask politely and tread lightly. Employing that tactic in daily life will probably keep you out of this sort of trouble in the first place.