Note This topic describes how to close a connection to an ApsaraDB RDS instance that runs SQL Server 2012 or later by using the KILL statement.

You can close only the connections initiated by you and cannot close other connections, such as backup connections.

You can execute the following statement to close a connection: KILL (SPID)