From apple documentation:
Since Rights and Pricing settings are app level settings, when you choose to remove all App Store territory
settings for an app, you will be removing the entire app from the App Store and not just a specific version.
To remove your app from sale on the App Store:
1. Click on the 'Rights and Pricing' button from your App Summary Page.
2. Click on the link to view specific stores.
3. Click on 'DeselectAll' to uncheck all App Store territories.
4. Click on the Save button.
After removing all assigned territory checkboxes from your app in the Rights and Pricing section,, the status
changes to Developer Removed from Sale and your app will not be seen on the App Store within 24 hours.
See the Apple Documentation iTunes Connect Developer Guide 7.0 Page 90