The Man Without a Country (1973)
At his court-martial, an American Army officer renounces his country. For his punishment he is ordered to spend the rest of his life on a ship that sails all over the world, but he will never be allowed to set foot on his country's soil, nor come within sight of it, nor be allowed to know anything about the country.