We are not too far away from a time when it was perfectly common for a man to haul a woman-- a daughter, sister, wife, mother, etc. to an asylum, register the complaint that she was "melancholic... or unruly... too willful... too much of a daydreamer... fantastical in thinking... not prayerful enough... not compliant enough... reads too many novels, and so on..." and commit her there. Consigning her to being drugged, chained, given ice baths, deprived of sleep, put under bizarre dietary restrictions, given over to surgical procedures up to and including lobotomies and sterilization.
It usually happened when a woman became inconvenient, or failed to live up to a man's expectations or desires.