You aren’t logged out per se, you don’t have an account on that instance so will show as not being logged in there (which you aren’t). What I tend to do is save any community links to a notepad app and then go back to my own instance and paste the link into the search box or just search using the communities name.