Max Verstappen said he came closer to retiring from Formula 1 than joining a rival team as he explained his reasons for extending his Red Bull contract.