Sorry to hear that. Just had a look if RHS has any info and this sounds like it fits:
"Dead, rotten patches on the stems: A disease called Didymella stem rot (caused by the fungus Didymella lycopersici) can attack the stems of tomatoes causing brown, rotted patches, at any height but most often at the stem base. Affected plants can wilt and die, and should be removed immediately to prevent infection of the remaining plants."
Not heard of it myself.
https://www.rhs.org.uk/problems/tomatoes-stem-problems
bees and nature (npub1elt…lfmk)