There have been a number of posts about this before, for example:
https://forums.flightsimulator.com/t/engines-shuts-down-after-press-esc-pause-menu/311610?u=gordongreig
Don’t know if there is a solution though