Hi @CSunny789 ,
SharePoint is not a public site, and login to the site requires user authentication.
If you log out of the site, then you could try to close your browser and log in again, which usually requires you to re-authenticate. Trying to clear the cache and log in again is also a good choice.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.