A country or territory that is completely surrounded by another country is called
An enclave is a country or region that is completely surrounded by another country. Enclaves can form for a variety of historical or political reasons, including territorial conflicts, treaties, and colonial legacies.