Crew lost SA and got it in a pickle. However, on receiving a GPWS hard warming they did what they were supposed to do and climbed back to 4000 feet (I would assume they performed the terrain escape manoeuvre but the flightglobal article doesn't use that expression).
If all crews who have found themselves in a similar situation over the years had done the same a lot of people would be alive who sadly now aren't.