Date: 201604
Local time of day: 1801-2400
Location: ZZZ.Airport, US
Flight conditions: VMC
Aircraft: B777 Undifferentiated or Other Model
Operator: Air Carrier
Operating under: Part 121
Flight phase: Taxi
Aircraft component: Turbine Engine
Reporter organization: Air Carrier
Reporter function: Captain; Pilot Flying
Reporter qualification: Flight Crew Air Transport Pilot (ATP)
Second reporter function: First Officer; Pilot Not Flying
Anomaly: Deviation / Discrepancy - Procedural Published Material / Policy; Flight Deck / Cabin / Aircraft Event Smoke / Fire / Fumes / Odor
Detector: Person Ground Personnel
When detected: Taxi
Contributing factors: Aircraft; Human Factors
Primary problem: Human Factors

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.


Second narrative: During taxi after landing; the Captain asked to shut down the left engine just prior to turning left into gate. I grabbed the right fuel cutoff switch and pulled the switch up and over the detent when I realized that I had inadvertently grabbed the right switch. I moved the right switch back to run without moving it to off and then moved the left fuel shutoff switch to off. The Captain completed the turn and followed the guide man instructions. When the Captain tried to add power it was observed that both engines had been shutdown and the aircraft was short of the assigned parking spot. The Captain set the parking break; we restarted the left engine; and continued until the aircraft was properly parked. After completing the parking checklist; we were informed by maintenance that someone noticed a small flame that came from the right engine. All engines indications were normal; no EICAS messages or status messages indicating an engine problem and the right engine EGT was normal. During post flight crew debrief with the Captain and International Relief Officer (IRO); we came to the conclusion that the right FSOV (Fuel Shut Off Valve) had closed when I moved the right fuel cutoff switch out of the detent position and when I moved the switch back to run; fuel was added back to the hot engine and may have caused the flame but the engine did not restart. Ground personnel called the fire department after observing the flame from the right engine. No further action was necessary.


Synopsis: 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.