For more information about signing out of your Apple ID, see If you sign out of your Apple ID preferences. In a second you should see all your Kindle books downloaded to your Mac. Even if it is a little obscure, at least it's not easy to accidentally delete an app.
It's forbidden to transfer downloaded books to Kindle for mac app with iTunes but only Send to Kindle.