Auto end flights

How do you remove the auto end flight after shutting down your engines???

You can’t. But you can vote here:

Hi @killerbsting16,
As @tclayton2k pointed out, this is not possible.

There is community wishlist to have this removed or reworked in MSFS that you may contribute to. See the link above.