Since January, the world has watched a slow-motion disaster unfolding in Venezuela, where critical shortages of food and medicine are fueling chaos. Inside the country, a handful of international firms are doing their best to ride out the crisis, while others have already jumped ship.

Most global firms with a presence in the country came decades ago—when Venezuela first opened up its vast oil and mineral wealth to foreign investment—and never left. After surviving several years of investment-killing policies under former president Hugo Chavez and his successor Nicolas Maduro, they are now observing the country’s economic collapse first-hand.