Narrative:

Turning onto [jetway] lead-in line; I called for shutdown of the left engine (it is a left turn into the gate). First officer (first officer) started to shut down the right engine; but realized his mistake and shut down the left engine. The right engine did shut down; however. There were no abnormal indications on EICAS: no overtemp; fire; or anything else unusual. After we blocked in; a maintenance supervisor came up to the flight deck and asked if we knew about fire coming out of the right engine; which we did not. In discussion we think that momentarily moving the right fuel control switch out of detent caused the engine to shut down; but since the switch was not immediately thereafter placed in cutoff; there was some residual fuel which may have resulted in minor torching.

Google
 

Original NASA ASRS Text

Title: B777 flight crew reported an unintentional cycling of the right engine fuel control switch during taxi in to the gate. A short time later; ground personnel reported a small flame coming from the engine.

Narrative: Turning onto [jetway] lead-in line; I called for shutdown of the left engine (it is a left turn into the gate). First Officer (FO) started to shut down the right engine; but realized his mistake and shut down the left engine. The right engine did shut down; however. There were no abnormal indications on EICAS: No overtemp; fire; or anything else unusual. After we blocked in; a maintenance supervisor came up to the flight deck and asked if we knew about fire coming out of the right engine; which we did not. In discussion we think that momentarily moving the right fuel control switch out of detent caused the engine to shut down; but since the switch was not immediately thereafter placed in cutoff; there was some residual fuel which may have resulted in minor torching.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.