Network disconnect player

I read the unity documents but i cant understand how it works…
and tutorials doesnt show us how to disconnect a player

if some one can help me how to disconnect a player…what do you have to call as a function
because ican disconnect but the player is still in…
if the the player die how do i remove it from the server? sorry maybe im idiot but i just dont this part of networking…

You will want to “CloseConnection” for the specified player. You can either do this on the client side and have the client call a CloseConnection method on death, or from the server you can iterate through a list of clients and CloseConnection with the one who died.

Source: Unity - Scripting API: Network.CloseConnection