I was just reading this topic the other day. Here is a note I noted:
Note: If you choose Optional or Mandatory, Discretionary, the interaction closes only when the agents manually end the interaction after it moves to ACW. If an agent logs off or closes the browser without ending an interaction that is currently in ACW, the interaction does not wrap up. To force wrap up to such interactions, configure the End Interactions Automatically when Agents Logoff organization-level setting. The interactions close with a system wrap-up code, ININ-SYSTEM-LOGOUT. For more information, see Enable communication level after call work.
------------------------------
Vikki Papesh
Sr. Genesys Cloud Developer II
Tandem Diabetes Care, Inc.
------------------------------