All beaches in the Rockaways were closed for swimming Tuesday due to a pair of shark sightings in the area.