*** id: 0a7be4d8-669f-487b-a393-6c3c9ded3b8e title: disconnect slug: /js/reference/chat/client/disconnect max-toc-depth: 3 ---------------- * **disconnect**(): `void` Disconnects this client. The client will stop receiving events and you will need to create a new instance if you want to use it again. ## Returns `void` ## Example ```js client.disconnect(); ```