This is very frustrating.
I am in JIRA in a particular board and then in the left column I clicked on Pages and connected to a particular page in Confluence that pertains to that board in JIRA. Now when I change boards in JIRA, I am still connected to that board (in Confluence) which is meant for the previous board, not the one I am currently looking at now.
When I click on the 3 dots in the top right corner of the screen, I only have the option to Connect to a different space but I don't see any option to disconnect anywhere.