The App API provides an easy way interact with a particular instance of a micro-app.
It has the following method(s) -
exitapp()
Using this method allows you to exist the current instance of the micro-app.
DronaHQ.app.exitApp();