It reminds me of my own experience. About 8 years ago now I was signed up for an ironmans triathlon and it was the 7th one for me but life had just gotten in the way of training all year, I'd have a good week of training then have 2 weeks of very minimal training, I'd miss swimming for 2 weeks or miss my long weekend runs.
I'd started a new job, was having some family drama, big breakup with the GF at the time but I was able to get my act together with the training and diet for the final 6 weeks (usually I'd train hard for 9-10 months) and I went to the race and just decided I was going to chill and enjoy myself even though I was like 15-20lbs over race weight.
It ended up being fine, about 3 hours slower than my other races but it wasn't bad, I just hung back and enjoyed it and finished the race well within the top half of the field even though I'd done about 1/10th of my normal training.