The city of Oakland is asking a judge to extend a temporary injunction that prevents Alameda County from selling its half of the Coliseum site to the Oakland A’s.

The city’s request for an extension late Friday comes just days after the Oakland City Council voted unanimously to enter into negotiations with the Oakland A’s to sell the city’s half of the Coliseum to the team.

The city’s move Friday caught the A’s by surprise — as it did when the city initially requested the injunction.

“I am not sure what to say. I thought we were closer to a deal,” A’s President Dave Kaval said Friday of the team’s negotiation efforts with Oakland.

The filing seeks an extension of the temporary injunction the Alameda County Superior Court judge issued Oct. 1 that effectively prevented the county from moving forward with its sale of the Coliseum land to the A’s for $85 million. The action forced the county to instead enter into negotiations with the city.

Oakland officials had accused the county of violating the Surplus Lands Act, a state law that requires publicly owned surplus lands to be considered for affordable housing before the lands are sold or leased. The county had argued that the Surplus Lands Act didn’t apply to this situation. But the judge issued the injunction.

The site, the largest piece of publicly owned land in Oakland, is jointly owned by the city and the county, and the A’s have agreed to pay the county $85 million for the county’s 50% share.

Since the lawsuit was filed by Oakland, the A’s have offered to either buy Oakland’s half share in the Coliseum site for $85 million or enter into a long-term lease. In return, the city would have to drop the lawsuit it filed to block Alameda County’s sale of its half to the team.

The city and the county are due back in court on Nov. 14.

On Tuesday, Councilman Larry Reid said the council directed the city attorney to drop the lawsuit after a “a couple points of contention” were resolved. He said he expected the lawsuit to be dropped by Friday.

Also Tuesday, Council President Rebecca Kaplan had said that the council “voted unanimously” to begin direct negotiations with the A’s “resolving all the issues and furthering the ballpark.”

On Friday, Reid said both he and Kaplan were shocked by the city’s filing.

“I just got off the phone with Council President Rebecca Kaplan and she, like I, was totally unaware that the city attorney was going to do this,” he said.

He said they were both “highly angry and upset.”

The city attorney’s office did not respond to a request from The Chronicle.

Chronicle Staff Writer Lauren Hernández contributed to this report.

Sarah Ravani is a San Francisco Chronicle staff writer. Email: sravani@sfchronicle.com Twitter: @SarRavani