This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Uber crashed into its latest public relations disaster after attempting to charge passengers inflated prices to leave central Sydney as a hostage crisis unfolded in the city Sunday.

The soaring fares prompted a backlash on social media, and the online car sharing service quickly reversed its position, offering free rides and agreeing to refund users up to $200 Australian dollars ($165 U.S. dollars).

Fares had reportedly jumped to four times the price charged before the siege as people rushed to leave Sydney’s central business district.

An armed gunman was still holding an unknown number of hostages in a Sydney café Monday in a tense standoff with police. Five hostages had fled the building, leaving an unknown number of people still trapped inside.

The company faced a rush of criticism on Twitter as its prices jumped.

“I would like to see how @Uber_Sydney wriggles out of this PR disaster. Raising prices during a terrorist siege?? Shameful,” tweeted @mandy_140.

Uber fares were calculated using an algorithm which reacts to demand. That’s what drove prices higher in Sydney, the company said.

“Surge pricing only remains in place to encourage more drivers to come online and pick up passengers from the area,” an Uber spokesperson said.

That controversial pricing model was suspended during disasters and emergencies in the United States. Uber said in a blog post in July that it would cap prices in these situations.

It’s unclear whether the company operates a similar policy in other markets.

The Sydney situation was the latest bump in the road for the company, which had been buffeted by a series of blows to its reputation and business in recent weeks.

Uber was banned in New Delhi over an alleged rape. Services were also banned in the Netherlands, as well as Spain and sharply reduced in Thailand over licensing and other issues.