Keep Sharing Records When Migrating to Enterprise Territory Management

If you’re migrating to Enterprise Territory Management, you can keep your original territory sharing records so that your sales team can continue working. After the migration is complete, use the SharingSettings Metadata API type to delete these records.

Where: This change applies to Lightning Experience and Salesforce Classic in Performance and Developer editions and in Enterprise and Unlimited editions with the Sales Cloud.

https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_sharing_enterprise_territory.htm&release=222&type=5