The invasion was a disaster, but Kennedy learned from it. He reorganized his intelligence system and determined that he would no longer accept uncritically the claims of his military advisers, a change that helped him steer the country successfully through the subsequent Cuban missile crisis.