Huntington Beach closed a roughly two-mile stretch of the beach Tuesday for 24 hours due to a shark sighting.