During WWI the philosopher Bertrand Russell was banned from British coastal areas.
Russell was a prominent anti-war activist who championed anti-imperialism. In 1916 he lost his position at Trinity College Cambridge but also much of his freedom of movement. The banning from coastal areas was to prevent communication with the enemy.
A later conviction for publicly lecturing against inviting the US to enter the war on Britain's side resulted in six months' imprisonment in Brixton prison.
More Info:
rfcb.revues.org