You can export a purchased book from Books on your Mac by dragging it out of the app
> At the Publisher's request, this title is being sold without Digital Rights Management Software (DRM) applied.
Still, signing into public devices with your private credentials and data is a bad idea. What if they kick you out of the store or take away the device your were toying with before you manage to wipe/reset it?