Miranda Cosgrovedidn’t know everything that was happening behind the scenes withJennette McCurdy.

McCurdy, 30, looks back at her childhood rise to fame oniCarlyand alleges that her late mother,Debra McCurdy, didn’t protect her from the dangers of the entertainment industry in her upcoming memoirI’m Glad My Mom Died.

Cosgrove, 29, who starred opposite McCurdy on the hit Nickelodeon show from 2007 to 2012, recently toldThe New York Timesthat she didn’t know what her friend was going through, despite their close relationship.

“When you’re young, you’re so in your own head,” Cosgrove said of her costar, who played her character Carly Shay’s bubbly best friend Sam Puckett. “You can’t imagine that people around you are having much harder struggles.”

Miranda Cosgrove and Jennette McCurdy.Astrid Stawiarz/Getty; Frazer Harrison/Getty

Miranda Cosgrove, Jennette McCurdy

For more on Jennette McCurdy, listen below to our daily podcast PEOPLE Every Day.

“You don’t expect things like that from the person in the room who’s making everyone laugh,” she added.

“My whole childhood and adolescence were very exploited,” she said. “It still gives my nervous system a reaction to say it. There were cases where people had the best intentions and maybe didn’t know what they were doing. And also cases where they did — they knew exactly what they were doing.”

McCurdy has long been vocal abouther decision to quit acting. During a March 2021 episode of herEmpty Insidepodcast, she discussed feeling discontent during her years on screen.

“I was a famous 19-year-old, and making a bunch of money, and I felt like I had everything at my fingertips,” she explained. “But I wasdeeply unhappy, and I actually really resented my life because I didn’t like the projects that I was a part of.”

Nathan Kress, Miranda Cosgrove and Jennette McCurdy.Nickelodeon Network/Photofest

icarly 2007

In an excerpt of the upcoming memoir shared withEntertainment Weekly, McCurdy recalls attempting to quit acting before landing the role on the Nickelodeon show.

“We’re on the way home, in bumper-to-bumper traffic on the 101 South,” McCurdy wrote. “I’m sitting in my booster seat since I’m still small enough to be required to sit in it.”

“‘I don’t want to act anymore,’ I say before I even realize I’ve said it,” she continued. “Mom looks at me in the rearview mirror. A mixture of shock and disappointment fills her eyes. I immediately regret saying anything.”

Jennette McCurdy and her mother Debbie.Frederick M Brown/Getty

jennette mccurdy and mom

Never miss a story — sign up forPEOPLE’s free weekly newsletterto get the biggest news of the week delivered to your inbox every Friday.

McCurdy’s mother reacts: “‘Don’t be silly, you love acting. It’s your favorite thing in the world,’ Mom says in a way that makes it sound like a threat.”

Though McCurdy held her ground, she said she ultimately gave in to her mom’s opinion. “‘You can’t quit!” she sobs. ‘This was our chance! This was ouuuuur chaaaaance!’ " McCurdy writes of her mother.

“She bangs on the steering wheel, accidentally hitting the horn. Mascara trickles down her cheeks. She’s hysterical, like I was in theHollywood Homicideaudition. Her hysteria frightens me and demands to be taken care of.”

“Nevermind,” McCurdy replied.

I’m Glad My Mom Diedwill be released Tuesday.

source: people.com