SF Here I Come? Channel 11

OK so at first we have a TV Market

San Francisco

NBC-4
CBS-5
ABC-7
And another TV Market

San Jose / Salinas / Monterey

NBC-8
ABC-11
CBS-46

So now Channel 4 in SF gets rid of NBC (or vice versa). So NBC buys Channel 11 and says OK now we are NBC and in San Francisco.

How? I mean did they move the transmitter? How can a city just decide it is no longer in a market. Plus doesn’t that leave Salinas and Monterey with TWO NBC (Ch 8 and Ch 11) and NO NBC. Doesn’t Ch 8 get mad they are losing viewers to Ch 11.

Or did SF always get Ch 11 and have two ABC (ch 11-when it was ABC and Channel 7)