Hello, Beatricefa, thank you for using Apple Support Communities.
It looks like you're wanting to know how to turn off the Maps app.
If you're referring on how to close the application, you'll just double tap the Home button and then slide the app off the screen. If you're referring to preventing the GPS from running in the background you can go to Settings > Privacy > Location Services then tap Maps, then select 'While Using the App.'
Thank you again for using Apple Support Communities, and have a great day!