He added, “I remain dedicated to the art of animation and inspired by the creative talent at Pixar and Disney.”

The accusations against Mr. Lasseter did not rise to the level of those against powerful Hollywood figures like Harvey Weinstein, who has been accused of severe sexual misconduct going back decades, and Bill Cosby, who was found guilty in April of drugging and sexually assaulting a woman.

But Mr. Lasseter’s sabbatical revealed other areas of concern. Disney conducted what it called a “day of listening” in February as part of an effort to improve the culture at Pixar and Walt Disney Animation. Multiple staff members told managers that Mr. Lasseter had become increasingly domineering, according to two people who work at the company, who spoke on the condition of anonymity because the process was private.

The decision to part ways with Mr. Lasseter was a complicated one.

People in Mr. Lasseter’s camp contended that he had been unfairly swept up in the Time’s Up movement and that his behavior did not warrant his ouster. Allowing him to return to his old job, or at least a similar one, would prevent Wall Street from worrying about the health of Disney’s animation engines. It would also prevent Mr. Lasseter, an executive widely heralded as a creative genius, from going to work for a competitor.

But retaining Mr. Lasseter would have divided employees, leaving some women particularly unhappy. The tension was palpable at the “Incredibles 2” premiere. The insiders in attendance raucously cheered as credits for the principal creative team appeared on the screen. But the theater became noticeably quieter when Mr. Lasseter’s name appeared as an executive producer.

In recent weeks, a #LoseLasseter campaign had appeared on Twitter.

Pixar has been criticized over the years as a boy’s club. Women have produced Pixar hits, but only one of Pixar’s 20 feature films, “Brave,” has a credited female director. That woman, Brenda Chapman, was fired halfway through production after she clashed with Mr. Lasseter. Ms. Chapman subsequently joined DreamWorks Animation, telling The New York Times in 2013 that “you can butt heads here and not be punished for it, unlike at another place I could name.”

Mr. Lasseter’s supporters have pointed out that he hired Ms. Lee as a director of “Frozen,” which was praised for its departure from Disney’s romantic “princess” formula. She is now working on “Frozen 2,” which is set for release in November 2019. Pixar has also started to focus more on female lead characters, including Joy in “Inside Out” and Dory the forgetful fish in “Finding Dory.”