How to exit from Game Scene back to initial interface controller on watch

If it possible to exit back to the initial interface controller from game scene programmatically when a function inside the game scene is called? I am able to do this on a iOS app but am struggling to find a way to complete this action for watchOS. Thanks in advance for the help.