Lewis Hamilton admitted that his retirement from the Hungarian Grand Prix was a significant blow to his title bid.