Lifeguards saw the shark lurking in the water and urged beachgoers to exit the water, but one man was bitten in the legs and sustained non-life-threatening gashes.