Ubuntu - Systemd - Stop a service

sudo systemctl stop ssh

You disabled a systemd service, but it somehow started again

To prevent a service from starting manually, use the mask subcommand.

sudo systemctl mask ssh

NOTE: Masked services cannot be started with systemctl start command until it is unmasked.

sudo systemctl unmask ssh