You often press the back button on your screen repeatedly as a quick way to exit the app. Even if the app disappears, it will still run in the background. It only closes until you've set the app to ...
Go to Settings, select an app, and use Force Stop to stop it from running. On Pixel phones, turn off Allow background usage; on Galaxy phones, choose Restricted to save battery. Developer options show ...