You can now specify an action to trigger on the destination computer just before disconnecting from it.
macOS allows configuration of desktop hot corners. A hot corner triggers a user-specified action when the mouse is moved to the selected corner of the desktop. To configure hot corners, see macOS System Preferences > Desktop & Screensaver > Screensaver > Hot Corners.
Log Out Remote User
This action logs out the user currently logged in on the destination computer.
Send Ctrl-Alt-Del Command
Sends the Ctrl-Alt-Del key combination to the destination machine.
Note that when Curtain Mode is enabled, it may cancel actions sent to the remote Mac.