Game flow when game ends

EndPlay()

There is a great figure that shows sequence of events when game starts: Gameplay Framework in Unreal engine | Unreal Engine 5.2 Documentation

I’m wondering what is the sequence of events when game end? Specifically I’m looking for opposite of AGameMode:StartPlay that I can everride to do some clean up when game ends (either via Editor end button or standalone mode).

Here’s another chart for actor spawn/destroy and some of EndPlay event sequence: Unreal Engine Actor Lifecycle | Unreal Engine 5.2 Documentation