Maytag range code F5 is tied to the oven door latch assembly, its switches or the wiring. Cut power at the breaker for a minute and see whether the code returns.
What it means
Door latch or latch switch fault
Maytag range (Product Help F-code articles), Electric and gas ranges and wall ovens with F-code displays Major
Regions: Canada, United States
What the manual says
The help page lists the oven door latch assembly, the latch switches, and the wiring as suspects. Reset power at the breaker and check whether the code comes back.
When to call a technician
If the code returns after the power reset, the help page points to scheduling service.