Companies that realize they have made a major mistake are screwed. They have an inept outsourced team and they have fired their U.S. based employees. No fallback.
Companies that crap on their employees for the sake of improving the bottom line deserve the consequences of a failed outsourcing program. Their former employees owe them no allegiance.
There will be plenty of opportunities to cobble up new businesses in the U.S. to rescue failed outsourcing attempts. Just imagine the joy of digging into code written by people with a limited profiency in English, little or no experience in software engineering and a big ego after graduation with a CS degree.