This question already has an answer here:
I have noticed that if I
shutdown Ubuntu 14.04 from a remote terminal via ssh and running
sudo shutdown now, the machine does not power off.
If I use the GUI (shut down using Unity on the machine itself) then the machine does power off.
If I look on the console of the machine after issuing the remote shutdown, there are messages relating to modem manager which seems to keep restarting.
Is this a known issue?
Please note this is not a duplicate of Shutdown does not power off computer as I'm using ssh to connect.