I want to somehow hide products that are out of stock, discontinued etc from everywhere (categories, brands, tags...) and make them accessible only from the URL.
I have read many suggestions to remove them from categories but there also the tags, the brand page and the most difficult part is to find where the the product have been related to other products. I don't want to delete them because there always a possibility to make them available again and I do not want to insert them again or going to all of them and re-add the category, brand etc.
Someone told be to put the stock value to -1 but that does nothing at all

Is there any good way to do that?
I think a good way is to disable them but then is not accessible with the URL. Can somehow the disabled products could be accessible via the URL?
Thanks in advance!