You may have to log out and back into your character, but you can toggle Elden Ring on or offline whenever you want.