exitFullscreen

suspend fun exitFullscreen()(source)

The Document method exitFullscreen() requests that the element on this document which is currently being presented in fullscreen mode be taken out of fullscreen mode, restoring the previous state of the screen.

MDN Reference