Nothing automatic, no. You would need to go to Code View and remove the links there. Either manually or with a regex Find & Replace expression.
That's in the ncx file. Surely you're not talking about removing the urls to the chapter files/anchors? Those need to be there for the ncx to work.