*** id: 663fbdc3-65b8-46a1-b14f-d5029c1f90ac title: disconnect slug: /node/reference/chat/client/disconnect description: disconnect method for the Client class. max-toc-depth: 3 ---------------- ### disconnect * **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(); ```