If you have not consented or if you have declined cookies, you may be logged out from the Joomla! backend as well. Indeed if the 'Block Joomla! session cookie' feature is enabled the cookie used by Joomla! to propagate the session will be blocked accordingly.
To prevent to be logged out from Joomla! ensure to have consented the cookie usage, as an alternative you can disable the following parameters: