Bob Knakal, chairman of New York City investment sales at Cushman & Wakefield, was “terminated” Monday just days before his contract ended.

Knakal, who sold Massey Knakal to C&W for $100 million at the end of 2014, had remained while partner Paul Massey started a new firm after a failed bid for mayor.

C&W got wind of talks between Knakal and a slew of other brokerages, although Knakal told friends he might stay because of C&W’s coming IPO, sources said.