Trim after on hold

this may help but there may be other posts as well.

Trim is getting reset after you hit escape - Community / General Discussion - Microsoft Flight Simulator Forums