Yes, my dear, this is it. You're going to grow old, surrounded by your children and grandchildren, caring for their needs, making your husband happy, and reading the latest issues of Godey's Ladies' Book. You're done. You have fulfilled your function. You have exhausted your creative enterprise. Now what are you going to do?
You're going to wack out, that's what. "Hysteria," which comes from the same root word that gives us "hysterectomy," was a common complaint among women around the time of the first world war. Denied any healthy outlets for their intelligence and creativity, and stuck in many-child households with little help, many women took to their beds with nervous complaints that we now recognize as depression and generalized anxiety disorder. Physicians at the time just put it down to having a uterus. If you've got one of THOSE, then you're mentally unstable, end of discussion.
In its mild form, hysteria was just Mama spending a few afternoons in bed with the blinds drawn. But in its more vicious form, Mama was completely debilitated, and her doctors would prescribe "the rest cure."
The rest cure amounted to total isolation. Women with hysteria were removed from all stimulation -- no books, no visitors, no responsibilities, no nothing -- and allowed to fester. Why
this was supposed to cure them is anyone's guess, but it's not too surprising that the creator of this regimen was a man, Dr. Silas Weir Mitchell, pictured at right.

The rest cure was, without a doubt, a form of torture. Some women were restrained and not even allowed to turn themselves over in bed. Mitchell himself explained it thusly, "..to lie abed half the day and sew a little, and read a little, and be interesting and excite sympathy, is all very well, but when they are bidden to stay in bed a month, and neither to read, write, nor sew, and to have one nurse—who is not a relative—then rest becomes for some women a rather bitter medicine and they are glad enough to accept the order to rise and go about when the doctor issues a mandate which has become pleasantly welcome and eagerly looked for.”
In other words, restrict all their activity, punish them for being anxious and depressed, and then they'll be happy NOT to be in bed taking the cure. No wonder they were "cured." We might note that one of the things that led to Virginia Woolfe's suicide was the thought that she might have to go through the rest cure AGAIN. Admittedly, this was not the only factor, the impending second world war being a larger one, but it underscores the brutality of ennui.
Interestingly enough, the rest cure only applied to relatively wealthy women. Poor women -- those who worked, held responsibilities, and were considered equal to their spouses -- were supposedly immune to the disease because they were tougher. In reality, they didn't have time for nervous complaints, or the money to pay for expensive restrictions on their liberty.
So why did anyone do it? Because women trusted Weir Mitchell; he got results. Dr. Mitchell and his ilk believed that women were under the total control of their reproductive organs, not their brains. Hormones drove women mad, and before you laugh and mention PMS, put yourself in that locked room with nothing to do, no music, no friends, nothing but your lonely, depressed brain, and see how you feel, hormones or no. No one was actually studying brains and how they work; all of the energy was focused on glands. At one point, glandular theory was thought to be responsible for everything from religion to criminal behavior.
Science eventually put a stop to the rest cure. Psychoanalyists like Freud and Jung began looking at brains as the root causes of anxiety and depression, and thus the isolation and torment of women fell out of favor, at least as a "cure." Doctors recognized that everyone wants to have a purpose, and wants to be self-directed. The focus of mental health shifted from something that was imposed from outside -- the cure -- to work done on the inside -- analysis.
Before that happened, though, we have Charlotte Perkins Gilman writing "The Yellow Wallpaper," about a woman driven bats by the rest cure. Gilman actually sent a copy of her story to Dr. Mitchell, who, rather typically, didn't respond to her. He DID say of himself, however, "I urged, scolded and teased and bribed and decoyed along the road to health; but this is what it means to treat hysteria.”

Trust me. I'm a doctor.