Fears of a shark attack forced the shutdown of miles of Southern California beach after a swimmer with large bite marks was pulled from the water, authorities said.