Don't beat yourself up.
Your fall back plan b is to obtain a non O retirement at consulate outside of Thailand eg Vientiane, Saigon etc.
The proof funds came from abroad not required non O retirement and not for extensions.
Alternatively talk with your immigration office about banking history. However don't think you will get much joy.
You did bring in 500k cash.