Here's a breakdown of its etymology:
* Old French: *embarrasser*
* Latin: *imbarrare* (meaning "to bar, to obstruct")
* Medieval Latin: *in barrare* (meaning "to put a bar across")
The sense of "to embarrass" developed later, likely from the idea of being "trapped" or "caught in a difficult situation".