How do you tell the app to exit fullscreen? (WinAppDriver, C#)

Is there a way using the latest WinAppDriver in C# to tell a UWP app to exit fullscreen mode?

When I use the SDK inspect.exe, I can see an “ExitFullScreen” button in the app title bar, however, it isn’t available until I move the mouse to the top of my screen (which reveals the title bar and subsequently in inspect.exe). My current thought is to perform a touch action at the top of the app in my test that reveals the title-bar and then clicks it, but this seems like something that should be built in and not need this workaround (maybe? I could be wrong).


(not sure if this question should be asked here or on