If a chip has been shipping for a while, the supply chain may be full of enough inventory that end users don't see a problem before production is restored. But imagine a case where the line is stopped for months and at the same time, the demand for that device accelerates. This is what COVID did to a lot of devices. Contagion mitigation strategies sent all the operators at the Infineon Kulim fab home for months, at the same time that auto sales surged. The power switch devices popular at US automakers, and purchased for 45 cents each, started seeing longer and longer lead times until Infineon's distributors started simply reporting 'availability unknown'.
This forced buyers into the perilous broker market. I say perilous because prices quickly went out of control for this chip. End customers were paying more than US$50 for many months and in some rare cases, over $100 for this 45 cent chip. These prices were paid by, among other companies, suppliers to semiconductor equipment makers. Without that chip, they'd not be able to sell their $10 million machines, which were also seeing demand skyrocket as chip makers scrambled to add capacity. Equipment makers would pay anything to keep their subsystem supply chain alive.
When the gray market got wind of the prices being paid, all kinds of scandalous activity happened. For example, unscrupulous resellers would gather many small lots of that chip, even units with different specification variants, paint over all the markings and re-label them all with the same, current date codes. This greatly increased their salability and value, but left the end customers with an unreliable product.
Eventually, the Kulim fab came back online and is back at full production. The supply chain is mostly recovered. And that 45 cent chip is now selling for 80 cents because Infineon saw first hand the high-value applications it was used in, and the price insensitivity of their end customers.