The aircraft carrier USS Carl Vinson was greeted by cheering crowds Thursday when it returned to San Diego at the end of a record-long deployment that involved dangerous moments in the Middle East.