Ran into a scenario where one of my customers wanted to immediately upgrade one of their FortiGates however the FortiGate was in a state of Automatic image upgrade: Enabled (Forced) and would not allow him to upgrade.
When FortiOS displays “Upgrade to v7.6.x shortly” and the Cancel button is grayed out, it typically indicates Fortinet’s Required / Forced Upgrade mechanism. FortiOS schedules this when the unit has an expired/invalid firmware support license or has reached End of Engineering Support (EOES).

Running the execute auto-upgrade status returns the following:

As you can see, trying to force the cancelation with the execute federated-upgrade cancel will return a the existing upgrades cannot be canceled.
In our case, the FortiGate was in fact under contract but there was some transfer of ownership issues. We wanted to upgrade for CVE issues.
The way to bypass this is by running the following commands:
config system central-management
set type fortimanager
set fmg 127.0.0.1
end


Once the command takes effect, you can now upgrade/downgrade as needed.
