candidate: Kamehameha managed to unify all of the islands by 1795 , except for Kauai and Niihau : Two attempts to conquer those islands had failed , and Kamehameha lost many men : bodies covered the beaches on Kauai 's eastern shores .