You can still publish your book, however, you might not be able to do it under the same title depending on who owns the trademark on the title first.
Trademarks and copyrights are different. Trademarks are words or symbols associated with and used to identify a product, such as a book title. Publishing a book using the title whose trademark is owned by someone else can open you up to civil liability from the trademark holder.
Copyright on the other hand, protects a creative work and allows only the owner to sell or reproduce it. Unlike trademarks, copyrights are automatic.
If you only hold a copyright to your book and not a trademark to the title, publishing your book as is could potential result in legal action being taken against you.

