The actress was subsequently dropped from the third movie in The Transformers franchise, although Bay said in an interview with GQ executive producer Steven Spielberg was behind the decision.
"I was brought out and stoned and murdered at one point," she told InStyle, reflecting on the past decade and how women in Hollywood are treated better after the #MeToo movement.
"And then suddenly everybody's like, 'Wait a second. We shouldn't have done that. Let's bring her back.'"
After the 2009 movie Jennifer's Body she retreated from the spotlight, and in 2020 she had an important realisation when viewing one of her old movies, Jonah Hex.
"I took all my crystals, and I set up my little temple inside my room. I turned on this massive TV, and Jonah Hex was on, which got panned in the press. It was supposed to be terrible."
But when she was watching the movie, she realised her performances weren't as bad as critics made it seem at the time.
"That night, I stayed up and promised myself that I would never live one more day of my life from fear. I came home, and my whole life changed. I got a divorce and I started working more and doing more things," Fox said. She divorced her husband, actor Brian Austin Green, and is now in a relationship with musician Machine Gun Kelly.
"Then literally everything exploded from there," she said.
Fox plans to play the roles she wants to from now on, and has ambitions to play a Marvel or DC comics character.
"I don't give a f***. Give me an MTV award. I don't need a f**king Bafta."