To do this, simply beat the Pirate Queen after she steals your uncles Dynamo.
You can do it the easy way, with magic and you'll finish her off in under a minute.
You can do this while going for the Queen of the Seven... Cheese? achievement by attacking and killing her in mouse form which takes ~15 minutes and lots of health.