requestClose

Request that the tab is closed. This fires the onCloseRequested event and if the event is consumed, then the tab will NOT be closed.

If you want to force a tab to be closed, just remove it from TabBar.tabs / TabPane.tabs.