During the Qantas 32 accident, one of the engines could not be shut down as the control cable from the cockpit to the engine is cut. The fire crew eventually shut down the engine by shooting fire-fighting foam into the engine.
In such cases, can the engine be returned to service following an inspection? Or, does foam damage the engine to the extent that it is more economical to simply buy a new engine?