Sometimes I accidently launch Thunderbird or it is lanched from other Apps. You placed a CANCEL button in the "Sign in" box. Instead of closing Thundirbird, it keeps requesting "Sign in", probably because of Multiple Accounts. Why????
My suggestion is that the CANCEL button closes Thunderbird.