I’m a windows 11 user on the latest version of RM and I haven’t been able to disconnect properly from Tree Share. when I select the Log Out button at the top , the Ancestry sign-In screen appears and when I hit Cancel there the TreeShare screen locks up and my only choice is to use Task Mgr to end the task. This has been happening for several months now and I keep hoping another day it might work but no luck. Long time use back to Family Origins!
Although personally I never use the Log Out button, having tried it, it locks up the program as you describe (Windows 11 RM 184.108.40.206). However, on closing the program it logs out of TreeShare and have to login the next time I start the program.
Confirming logout issue has been reported to development.
With automatic login disabled you would need to close RM and reopen to see it logged out.