Remotely Restart or Shut Down a Mac With Screen Sharing
There are two ways to remotely access a Mac on your local network. The first is through the Screen Sharing function, which is disabled by default.
On the Remote Mac Computer
To enable Screen Sharing on the remote Mac computer:
On a Local Mac Computer
On a local Mac computer, follow these instructions to shut down or restart the remote computer:
Use Remote Login to Shut Down or Restart a Mac
The second way is through the Remote Login function, which requires the use of Terminal, the Mac command-line interface. Alternatively, enter the network name of the remote Mac after the dashes, for example, vnc://MyMacsName. This feature is disabled by default and must be enabled on the remote Mac before you can control it from another computer.
On the Remote Mac
On the Local Mac
Now access the remote Mac from a Mac on the same network.