MySQL 8.4.2
Source Code Documentation
COM_QUIT

Tells the server that the client wants it to close the connection.

Payload
TypeNameDescription
int<1> command 0x01: COM_QUIT

Server closes the connection or returns ERR_Packet.