Kathy Bates was ready to quit. A movie shoot had soured (no, she won’t specify the movie) and she found herself alone, on her sofa in Los Angeles, sobbing. Bates, who won an Oscar for “Misery” and Emmys for “American Horror Story” and “Two and a Half Men,” has always taken her work to heart in an all-consuming way.

“It becomes my life,” she said. “Sometimes I get jealous of having this talent. Because I can’t hold it back, and I just want my life.” She had given herself over to this part, and the gift had been ignored. The next day, she called her agents and told them she wanted to retire.

A few weeks later, in January of this year, her agents sent her a script. It was for a procedural, which she hadn’t been looking for, and it was a reboot of a series that hadn’t especially moved her the first time: “Matlock,” a drama about a folksy attorney with a virtuosic legal mind and a wardrobe of seersucker suits. It endures in the cultural memory mostly as a punchline about shows old people like to watch.

Still she began to read the script. And she kept reading. The protagonist, a woman who feels that age had rendered her invisible, was brilliant, canny, out for justice, and Bates has always had a strong sense of fairness. She feels the injustices of her career and her early life acutely, and the idea of playing a woman out to right wrongs called to her.

So she paused her retirement. And “Matlock,” which debuts on CBS on Sept. 22 and will stream on Paramount+, became the unlikely vessel into which Bates, 76, can pour her talent, her vigor and surprisingly, given the shallowness of a typical procedural, all of her pain.

“Everything I’ve prayed for, worked for, clawed my way up for, I am suddenly able to be asked to use all of it,” she said. “And it’s exhausting.”