'Night parrot' back from the brink