After he left Apple, he founded NeXT and tried to go the hardware-software route again, until he had to sell the hardware unit to Canon and the software to, yes, Apple.
He left Apple and immediately founded NeXT, however it turned out he had to sell the hardware part of NeXT to Canon and the software part of NeXT to Apple.