Ubuntu - SystemD - Change the target

To change to the multi-user.target (run level 3):

sudo systemctl isolate multi-user.target

…and to change back to graphical target (run level 5):

sudo systemctl isolate graphical.target