I have disable product in back end then product is redirect to here parent category. I clearly say product is not and deleted only disable product can redirect to here parent category.
You can do this using an Observer.
Use an observer to watch the event
controller_action_predispatch_catalog_product_view. You can check if product has status
Disabled and redirect to the last category.
More info and a code example here: http://evgv.github.io/magento/redirect/categories/product/observer/2016/04/27/redirect-from-disabled-product-to-last-product-category.html