Thanks for reaching out and I'm sorry to hear that you are being logged out.
Can you please confirm if this instance happens when you're in-game? Does your game close when it happens? Or does it happen when your launcher is running in the background while not playing games on your PC?
Many thanks and if you have any additional questions, please let us know.
- Ubisoft Support