Set in feudal times, the story begins in the Kingdom of Didd, when King Derwin is riding through a street past peasant protagonist Bartholomew Cubbins. Ordered to remove his hat, according to the laws, Bartholomew does so; but another hat mysteriously appears; when he attempts to remove this one, another one appears again, and this continues as he removes more and more hats, each growing in ext…