Declining to sell a book in a store isn’t “censorship”. The author could easily host the book on their own website. If the government forces them to take it down, then it’s censorship.
It's is technically correct. Legally and conceptually censorship is defined only as censorship done by the government.
Censorship is commonly understood to mean any kind of censoring or removing of content.