I have asked a similar question a couple of years ago, but it wasn't related to a system upgrade and more focused on potentially malicious software or licensing issues.
Since I am considering regularly upgrading to minor, non-LTS Releases, I was wondering what happens to installed programs that have no supported package in the Release repository anymore with a do-release-upgrade or apt dist-upgrade.
As an example, Amarok currently has no package in any repository after 18.04, since Qt4-based software had been removed lately. What would have happened to my Amarok installation, if I had installed it on 18.04 LTS and upgraded to 18.10?
Would it have been removed from my system on upgrade? Or would it stay on the last package version until a new package was available?
My previous question suggests that it would likely stay in the last supported version on my system, but I believe to have read that some software was removed on a system upgrade.