Hey, this is a known issue. Closing a maximized Terminal panel can incorrectly trigger maximizing the Chat panel.
It’s already been reported and the team is aware: Closing maximized panel broken
There’s no ETA for a fix yet, but your report helps us prioritize it. Let me know if you have any questions.