Cookie rules being deleted after browser restart

In relation to sites that must clear cookies and sites that cannot use cookies, they should not be deleted after the function is performed, after all, if I listed a specific site to never use cookies or delete cookies after I close the browser, it should remain as a rule in the browser, but it doesn’t happen.