So many strange assumtions, but the most striking is that you're presuming the user doesn't know what they want to happen.
"you'd prefer to seamlessly be switched back to the main app to do the thing you launched it for"
Would I? How do you know? Why do yo think so? This is such an odd thing to be sure about.