When Alex gets a new teacher, Mr. Underwood, things start to look up at the Wigpowder-Steele Academy. But Mr. Underwood has a secret, and when he's kidnapped by a group of pirates, Alex sets off on a rescue mission, encountering many strange and magical characters along the way.