I don’t think you can apply for a retirement visa as your visa has expired.You would have to exite Thailand and re- enter to start the application process.
at least this is what i have been told by immigration office in phuket.thai embassies have also temporarily suspended all long term visa application