[1] https://www.franceculture.fr/emissions/la-conversation-scien...
>Relatively little of his work after 1960 was published by the conventional route of the learned journal, circulating initially in duplicated volumes of seminar notes; his influence was to a considerable extent personal. His influence spilled over into many other branches of mathematics, for example the contemporary theory of D-modules. (It also provoked adverse reactions, with many mathematicians seeking out more concrete areas and problems.)
My guess would be that he was working on himself rather than on the mathematics. Mathematics was merely the means and the medium. But I haven't read the material...!
Grothendieck didn't publish much in journals at all, ever. He was famous for writing books, not technical articles, such as the EGA and SGA series. His later work was the same, and the resulting manuscripts were widely sought because they were really good stuff.
Before he died he also claimed to have many tens of thousands of pages more that would never see the light of day, and people have sought those documents ever since.
I'm quite familiar with his output because my PhD is in algebraic geometry, and I've worked through his (known) writings extensively.
Here [1] is his complete list of publications. You'll notice by far his output is books and lecture notes, with very few papers at any point in his career.
[1] https://webusers.imj-prg.fr/~leila.schneps/grothendieckcircl...
I think Grothendieck was still writing multi-1000-page mathematical manuscripts up until he died.
I know there are such unpublished manuscripts floating around the mathematical community.
As Wikipedia states " he lived secluded, still working tirelessly on mathematics until his death in 2014".
https://en.wikipedia.org/wiki/Alexander_Grothendieck