Import lists can add shows for you. Some of them can also remove them again, and I would never switch that on blind.
In the list options there is an advanced setting called Clean Library Level. It decides what happens to a series that is no longer on any of your lists. In Sonarr the choices are Disabled, Log Only, Keep and Unmonitor Series, and Keep and Tag Series. Radarr has Disabled, Log Only and Keep and Unmonitor Movie. Disabled is the recommended one.
Log Only is the useful middle: nothing changes, but the log tells you which items would have been affected.
Settings > Import Lists > List Options
Clean Library Level: Log Only
Run it for a couple of syncs and read the log. If the list is a watchlist that you trim, the unmonitor or tag modes can be useful; if the list is flaky, you would unmonitor half your library after one bad fetch.
The caveat is that it is an advanced option, so it only shows when Show Advanced is on. Keep and Tag is only in Sonarr, according to the wiki.
Removing a list entry in the source and watching your library shrink is the kind of surprise I like to see in a log first, not on a disk.
Further reading: Sonarr settings, Servarr Wiki, Radarr settings, Servarr Wiki, On this site: set Minimum Free Space in Sonarr and Radarr so a full disk stops the imports, On this site: leave "Rescan Series Folder after Refresh" on Always in Sonarr and Radarr, On this site: Hardlinks in Sonarr and Radarr: instant imports and seeding for free
Going deeper: Guide: link Prowlarr to Sonarr and Radarr once, and stop typing indexers into every app