It is removed from KoL's inventory, so it should be removed from KoLmafia's as well.
Not that it's particularly important; next time you refresh inventory it will be gone, and there is nothing whatsoever you can do with it other than give it to the trapper.