While she starred in the popular Disney Channel Original Movie series "High School Musical," her contract with Disney ended after the release of the third movie in the franchise.
This is a common practice in the entertainment industry, where actors and actresses typically sign contracts for specific projects or a limited time period. Once those contracts expire, actors are free to pursue other opportunities.
In Hudgens' case, she has continued to have a successful career in film, television, and theatre, even after her time with Disney.