I was raised on the Bay and I think it's one of the best sailing areas I've seen, if you don't mind sailing in cold water and fog. As the saying goes, "If you can sail the Bay, you can sail anywhere."
You can put up your sails in Sausalito in a light breeze and be in near gale force winds just a few minutes later as you sail past Hurricane Gulch, then it eases off again and the possibilities open up before you. You can sail east, south, northeast or out to sea under the Golden Gate, all within just a few minutes. There are even two rivers you can take your boat up quite a ways, for a cruise into fresh water and explore places like Frank's Tract, a housing development flooded in a state flood control project. On a clear day we could see the houses, streets, telephone poles and even the mail boxes of the houses below us.
Outside the Bay, choices are pretty limited compared to the east coast, but Point Reyes and Tomales Bay aren't far and can be reasonably secure and nice to visit. Way offshore are the Faralon Islands, a pretty inhospitable group of dangerous rocks where Great White sharks breed, so a quick swim might not be the best idea, but it's still a nice challenging day sail, out and back.
Certainly take your boat or sell her and buy another there. However, be prepared for the state to gouge you for taxes (sales tax is now very near 10%, I've read) and probably other fees, as California is by far the greediest state I've ever lived in.