Shutdown command works for admin. Using System.exit(0).