This is true with the nudibranch diet. Most feed on sea squirts, bryozoans, small worms, crustaceans, or snails, but some are cannibalistic.
Once the food supply is gone they will starve and die. Which means cure has been acheived in the case of planaria infestation. However, my experience...