Navigation: Using the FVTermParent Javascript Module > FVTermParent.js Functions and Variables
fvApi.Close = function()
Use to close the active session as well as any open windows or dialogs in the terminal iFrame.
This is a "send only" call when using the msgApi mode, but any result will trigger the onclose event.