Yep. Brandishing is highly illegal in California for sure. It is assault actually.
If you brandish a shotgun it is assault. If you rack the gun it is aggravated assault. That is the actual law.
The reality is a bit stranger. At my place, in Los Angeles County, the cops raided a largish group...