Short Answer
If you are able to put a stop to the spread of that book then you must, but if you cannot like if people keep making copies without your permission or you have sold the rights to the book, then you are not responsible for that. Allah does not hold anyone accountable beyond their capacity.
Reason for Asking the Question
The Prophet mentioned that if someone does good that people continue to benefit from, the person keeps getting reward when others benefit. So the questioner wonders if the opposite is also the case.
Version 0.5 | [Shaykh] Mustafa Umar | 9-30-2023