Once you're connected, you need to change your permissions to the AMP user to be able to use ampinstmgr
commandlets.
sh -l amp
Once you're logged in as the AMP user, you can complete commands. Find the Friendly Name of your instances by listing them all and the one one that you wish to reboot:
ampinstmgr -l
ampinstmgr restart <instance_friendly_name>