Outside the school, Cheryl Benn, 65, waited while her husband, David, a traffic engineer with the city who was in the building where the shooting happened, gave a written statement to detectives.

She said her husband initially called her from a barricaded room and said it sounded as if someone had been working with a nail gun. Then he saw the bodies.

“This is unbelievable for Virginia Beach,” Cheryl Benn said. “By and large, it’s a pretty calm and peaceful place to live.”

Associated Press writers Regina Garcia Cano in Washington, D.C.; Denise Lavoie in Richmond, Virginia; and Tom Foreman Jr. in Charlotte, North Carolina, contributed to this report.