adb-disconnect
Disconnect an Android device over network/USB
TLDR
View documentation for adb disconnect
SYNOPSIS
adb disconnect [
PARAMETERS
The IP address (and optionally the port number) of the device to disconnect from. If no IP address is specified, all connected TCP/IP devices are disconnected.
DESCRIPTION
The `adb disconnect` command is a utility within the Android Debug Bridge (ADB) that disconnects a device previously connected via TCP/IP. ADB primarily communicates with Android devices via USB, but it also offers a powerful feature to connect over Wi-Fi. Once connected via TCP/IP using `adb connect
The command operates by terminating the connection between the ADB server on your development machine and the ADB daemon running on the Android device. It can disconnect a specific device (identified by its IP address and port) or all connected TCP/IP devices. Without parameters, all devices are disconnect. It uses the IP address as argument. If that address isn't find in connected device disconnect all devices. This command simplifies device management in wireless debugging scenarios. You can disconnect devices you have been working with or close all connections.
EXAMPLES
Disconnect a specific device:
`adb disconnect 192.168.1.100:5555`
Disconnect all connected TCP/IP devices:
`adb disconnect`
SEE ALSO
adb(1), adb-connect(1)