It has been five months since thousands of movie and television writers fired their agents in a standoff that has consumed Hollywood. And union election results on Monday indicate that the impasse is likely to continue.

A strong majority of writers voted to re-elect top leaders of the Writers Guild of America West, the biggest union that urged the mass firing of agents.

The win is a blow to a band of writers who were running against current leadership and have argued that the agency dispute has been mishandled. The win is also a setback for many big-name writers like Shonda Rhimes, Aaron Sorkin and David E. Kelley, who endorsed the opposing candidates.

David Goodman, the president of W.G.A. West, and the union’s public face in the agency battle, won re-election along with Marjorie David as vice president and several board members. Phyllis Nagy, the screenwriter of the 2015 film “Carol,” ran against Mr. Goodman for the W.G.A. West presidency.