Try add listeners for the events Event.DEACTIVATE
on your main class and Event.EXITING
on NativeApplication.nativeApplication
.
On the events handlers you can do what you want to stop / pause your game.
Add a listener to the event Event.ACTIVATE
on the main class to resume the game.