UNION, N.J. — Widespread gas shortages stirred fears among residents and disrupted some rescue and emergency services Thursday as the New York region struggled to return to a semblance of normalcy after being ravaged by Hurricane Sandy.
Tiny increments of progress — some subway and bus lines were back in service — were overshadowed by new estimates of the storm’s financial cost, struggles to restore power, and by the discovery of more bodies in flooded communities.
The lines of cars waiting for gas at a Sunoco here ran in three directions: a mile-long line up the Garden State Parkway, a half-mile line along Vauxhall Road, and another, including a fleet of mail trucks that needed to refuel before resuming their rounds, snaking through a back entrance. The scene was being replayed across the state as drivers waited in lines that ran hundreds of vehicles deep, requiring state troopers and local police to protect against exploding tempers.
‘’I’ve been pumping gas for 36 hours — I pumped 1,500 gallons,’’ said Abhishek Soni, the owner of an Exxon in Montclair, N.J., where disputes in the line Wednesday night had become so heated that Soni called the police and turned off the pumps for 45 minutes to restore calm. ‘‘My nose, my mouth is bleeding from the fumes. The fighting just makes it worse.’’
Four days after Hurricane Sandy, the effort to secure enough gas for the region moved to the forefront of recovery work. The problems affected even New York City, where the Taxi Commission warned that the suddenly indispensable fleet of yellow cabs would thin significantly Friday because of the fuel shortage.
City officials said they had reached an agreement with a major supplier Thursday night that would ensure emergency operations — fire, police, sanitation and work by the parks department to clean up downed trees — would continue uninterrupted.
Although Thursday marked a return to routine for many who ride the subway to work or celebrated the resumption of power, the scenes of long lines, fistfights at gas stations, and siphoning at parking lots highlighted the difficult, uneven slog to recovery.
The losses from the storm will approach $50 billion, according to an early estimate from economists at Moody’s Analytics — about $30 billion in property damage, the rest in lost economic activity like meals and canceled flights. At the same time the death toll in New York City rose to 38, as rescuers continued to discover bodies while combing through coastal wreckage. Among them were the bodies of two boys, 2 and 4, who had been torn from their mother by raging flood waters on Staten Island on Monday night.
The lack of power continued to bedevil efforts to address the damage. About 43 percent of customers in New Jersey and about 16 percent in New York state remained without electricity, and officials said that they expected power to be restored to all of Manhattan by Saturday. Those issues were only aggravated by the increasingly short supply of gas.
The ports and refineries that supply much of the region’s gas had been shut down in advance of the storm and were damaged by it. That disrupted deliveries to gas stations that had power to pump it. But the bigger problem was that many stations and storage facilities remained without power.
Politicians were scrambling Thursday to increase the supply of fuel. The Port of New York and New Jersey opened just enough to allow boats carrying gas to move, and Governor Chris Christie of New Jersey waived restrictions that make it harder for stations to buy gas from out-of-state suppliers.
Christie said Thursday afternoon that President Obama had sent 250,000 gallons of gas and 500,000 gallons of diesel fuel to the state through the Department of Defense, and he pledged to send more if needed.
Despite these steps, the situation was not expected to get significantly better Friday. Utility companies said power might not be fully restored until late next week.
The Essex County, N.J., executive, Joseph N. DiVincenzo Jr., said that the fuel shortage had become his top concern, causing officials to start limiting gas to half a tank at a time to police and fire vehicles.
Some drove hours out of their way, across state lines, in search of gas. Others tried their luck at a dozen stations, finding many roped off by caution tape, or turned to Twitter, trading tips about where to go.
That’s how Jason Brown, 25, of Queens, learned there might be gas at a BP station 2 miles away in Nassau County, N.Y. He walked there lugging a 5-gallon Igloo cooler hoping to fill it with gas for his car — only to find a line stretching a quarter-mile. When the generator pumping the gas failed, the crowd erupted into fights and police were called in to close the station.
“I’m trying to get gas for my family,’’ Brown said. ‘‘Everywhere you go, it’s either a riot or there’s no gas.’’