NEW YORK (AP) — Frustration — and in some cases fear — mounted in New York City on Thursday, three days after Superstorm Sandy. Traffic backed up for miles at bridges, large crowds waited impatiently for buses into Manhattan, and tempers flared in gas lines.

Mayor Michael Bloomberg said the city would send bottled water and ready-to-eat meals into the hardest-hit neighborhoods through the weekend, but some New Yorkers grew dispirited after days without power, water and heat and decided to get out.

"It's dirty, and it's getting a little crazy down there," said Michael Tomeo, who boarded a bus to Philadelphia with his 4-year-old son. "It just feels like you wouldn't want to be out at night. Everything's pitch dark. I'm tired of it, big-time."

Rima Finzi-Strauss decided to take bus to Washington. When the power went out Monday night in her apartment building on the Lower East Side of Manhattan, it also disabled the electric locks on the front door, she said.

"We had three guys sitting out in the lobby last night with candlelight, and very threatening folks were passing by in the pitch black," she said. "And everyone's leaving. That makes it worse."

The mounting despair came even as the subways began rolling again after a three-day shutdown. Service was restored to most of the city, but not the most stricken parts of Manhattan and Brooklyn, where the tunnels were flooded.

Bridges into the city were open, but police enforced a carpooling rule and peered into windows to make sure each car had at least three people. The rule was meant to ease congestion but appeared to worsen it. Traffic jams stretched for miles, and drivers who made it into the city reported that some people got out of their cars to argue with police.

Rosemarie Zurlo said she planned to leave Manhattan for her sister's place in Brooklyn because her own apartment was freezing, "but I'll never be able to come back here because I don't have three people to put in my car."

With only partial subway service, lines at bus stops swelled. More than 1,000 people packed the sidewalk outside an arena in Brooklyn, waiting for buses to Manhattan. Nearby, hundreds of people massed on a sidewalk.

When a bus pulled up, passengers rushed the door. A transit worker banged on a bus window, yelled at people inside, and then yelled at people in the line.

With the electricity out and gasoline supplies scarce, many gas stations across the New York area remained closed, and stations that were open drew long lines of cars that spilled out onto roads.

At a station near Coney Island, almost 100 cars lined up, and people shouted and honked, and a station employee said he had been spit on and had coffee thrown at him.

In a Brooklyn neighborhood, a station had pumps wrapped in police tape and a "NO GAS" sign, but cars waited because of a rumor that gas was coming.

"I've been stranded here for five days," said Stuart Zager, who is from Brooklyn and was trying to get to his place in Delray Beach, Fla. "I'm afraid to get on the Jersey Turnpike. On half a tank, I'll never make it."

Of course you voted for him. You're a puppet doing exactly what they want you to do.

Romney's whole campaign was rigged... to... fail. I can see things that no one else, perhaps in the world, can see. No joke. Maybe Abdominal Snoman is feeling me on this but he'd be the only one. Voting for Obama is following the nationwide plan that was set out at the very start of this election to drag Romney's name through the mud. They needed Romney to have someone to oppose Obama... but he was never intended to be a serious threat to the Presidency.