is it possible to close apple maps via notification?

My current predicament is the following:

The app that I'm developing will first open the apple maps to show the user the directions to go to the destination from the current location. The app posts a notification when the user has reached the destination and on clicking the notification the apple maps app is put into the background. My question is that when the app is shown in the foreground, is it possible to programmatically end the navigation in the apple maps app?


I want to do this since the user is still shown the previous route on calling apple maps again with the new route

is it possible to close apple maps via notification?
 
 
Q