George Tomkyns wrote The Battle of Dorking (1871) to warn Britain about the dangers of complacency and unpreparedness in national defense. The novella depicts a swift German invasion and defeat of Britain, highlighting the need for a strong military and vigilance in a changing geopolitical landscape.