I am posting this in context of the new version of Thunderbird. There have been requests for this in thepast, which I presume have gone ignored.
Having a confirm-before-quit option would be very helpful. Other applications have already adopted this...