The former transportation secretary had been weighing a run for governor or a 2028 presidential campaign, which he could still pursue.