As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
INFLIGHT SHUTDOWN / DECLARED EMERGENCY. NR 2 ENGINE STARTED SHAKING, SHUTDOWN NR 2 ENGINE. NO FIRE IN COCKPIT (HANDLES) ENGINE INSTRUMENTS INDICATED NORMAL, FLAMES FROM EXHAUST (AFT) PIPE (TAIL). REMOVED AND REPLACED NR 2 ENGINE PER MM.