China’s economic surge is one of the biggest stories of the 21st century.

Hundreds of millions of people have been lifted out of poverty, and China’s swelling middle class has attracted the interest of Western companies.

But, as Visual Capitalist's Nick Routley details below, many American companies have discovered, doing business in China is far from straightforward. Recent history is littered with examples of companies that entered the Chinese market to great fanfare, only to retreat a few years later.

Calling Off The Offensive

Today’s infographic highlights 11 companies that ended up tapping the brakes on their ambitious forays on the other side of the Pacific.

Then, we take a look at the factors that influenced these strategic withdrawals.

Here are some high profile examples of corporate u-turns by American companies operating in the Chinese market:

Google

When Google China’s search engine was launched in 2006, the company had made the controversial decision to censor search results within the country. Google publicly displayed a disclaimer indicating that some results were removed, which created tensions with the Chinese government.

For a while, things seemed to be going well. Even though a domestic company, Baidu, had captured the majority of the Chinese search market, Google did have a respectable market share of about 30%.

Google China’s fortune took a turn for the worse in 2010 after a major hack – Operation Aurora – exposed user data as well as intellectual property. The hack, which originated from within China, was the last straw for Google’s executive team. After one last ditch effort to provide unfiltered search results within China, the company retreated beyond the firewall.

Amazon

Amazon was an early entrant into the Chinese market. In 2004, the company acquired Joyo – an online shopping site – which was eventually rebranded to Amazon China in 2011.

Amazon China achieved some early success hitting a market share of around 15%, but today, that market share has eroded to less than 1%. Facing nearly insurmountable competition from domestic e-commerce platforms like JD and Taobao, the company recently announced it would be exiting the Chinese market.

Uber

After arriving fashionably late for the ride-hailing party in 2014, it quickly became clear that Uber was facing an uphill battle against well-funded domestic rivals. After only two years, Uber elected to u-turn out of the Chinese market.

Though Uber’s tactical exit from China is often viewed as a failure, the company has earned upwards of $8B through its sale to competitor Didi Chuxing.

A Two-Way Street

Now that red-hot growth at home is beginning to taper off, a number of Chinese companies have begun their push into other markets around the world. Much like their American counterparts, brands pushing beyond China’s borders are seeing varied success in their expansion efforts.

One high-profile example is Huawei. The telecommunications giant has been making inroads in countries around the world – particularly in emerging markets – but has seen pushback and scrutiny in a number of developed economies. Huawei has become a lightning rod for growing concerns over government surveillance and China’s growing influence over the global communications network.

Already, Australia has blocked the company from participating in its 5G network, and in the United States, government agencies are banned from buying Huawei gear.

If negative sentiment continues to build, it remains to be seen whether Huawei and other Chinese companies will follow the playbook of American brands in China, and turn the car around.