The present invention relates to a method for controlling an aircraft (1) comprising at least two engines (16, 17), each engine (16, 17) being arranged in an engine compartment (21, 22) of its own, each engine (16, 17) being connected to a
fuel supply circuit (31, 36) provided with a supply
cut-off switch (34, 38) of its own for
cutting off a
fuel supply, said aircraft (1) comprising at least one
fire detector (26-29) in each engine compartment (21, 22), said aircraft (1) comprising at least a first
fire extinguisher (40) and a second
fire extinguisher (45).An automatic assistance phase (PHASASSIST) comprises, in the event of a fire detected in an engine compartment, automatically and with an
avionics system (60), an activation of the power
cut-off switch (34, 38) of the engine (16, 17) present in the compartment concerned, then a triggering of the first extinguisher (40), then a triggering of the second extinguisher (45) under respective predetermined conditions.