Thunderbird : FAQs : Reset a Master Password
From MozillaZine Knowledge Base
To reset the master password,
Close Thunderbird. Rename the key3.db file in your Thunderbird profile. Start Thunderbird.
Note: If you do this, make sure you did not save any certificates or encrypted passwords. YOU MAY LOSE THEM!