ALBANY — After a defiant rejection, a retaliatory strike, a big-time gamble, a big-time loss and a political walk of shame, the Working Families Party and Gov. Andrew M. Cuomo arrived at a muted truce Friday, as the governor opted to take the party’s line in the November election.

The decision came two days after the W.F.P., a small but influential coalition of labor unions and progressive activists, swallowed its collective pride and decided to offer its line to Mr. Cuomo, whom it had spent nearly six months criticizing as “a corporate Democrat.”

Indeed, in April, the party had opted to back Mr. Cuomo’s rival, the actress and activist Cynthia Nixon. That ended badly, when Mr. Cuomo, a second-term moderate, thumped Ms. Nixon in the Democratic primary Sept. 13, taking more than 65 percent of the vote, after spending some $26 million on the effort.

The outcome put the W.F.P. in something of an ideological bind: The party had many members who wanted Ms. Nixon to remain on the ballot until the general election, casting it as a show of political purity. She had indicated she did not want to continue to stay on the line or campaign.