If you choose to play a story or a guided meditation, the app will automatically shut down once it has finished. You can also choose to listen to a white noise loop or relaxing soundscapes. In this case, the app will stay open all night long to block out surrounding noises.