To prevent an agent from remaining on queue if they deselect their phone, remove the Telephony > Station > DisassociateSelf permission from the agent. Similarly, if you remove the permission, an agent cannot go on queue without a selected phone.

Note: Do not remove this permission from agents who handle digital interactions.