Within the RDS environment, I believe it is necessary to have knowledge of some commands, or at least know where to find them and their description Microsoft remote desktop services command reference.
I will give an example of the ones I use the most.
Just like with the quser function, with query session we also obtain all the sessions; to close a session we use the logoff command followed by the session ID.
Example of query session / logoff