Nearly did the same in a C172 after a touch and go many years ago. Managed to finally get them up before doing what Dan did. Takeaways for me:
C172's do not climb well at full flap.
Only use full flap when you really need to and are 99% committed to the landing.
As a general rule, I do touch and go's at takeoff flap setting.