If you become unconscious your metaphysical self isn't separated from your body, the lights are just off.
Like, take the situation and apply other setting logic to it. If this were Cyberpunk 2077 and you uploaded your brain into a different body and completely cut ties with the previous one, and then someone bangs that body for whatever reason, they're not raping you. You've left the building.
Or at least, I wouldn't define self identity as physical form in a reality where the self can be separated from the meat on your bones. That's some spiritual question shit though and stuff that people have been asking for ages. I guess if you are insistent on defining self as your body regardless of context then that is a valid way of looking at it too.