Linguists had been intensively studying Ubykh for decades by the time the last speaker died. It's rather well-documented for a language with few speakers.