If you're trying to ask for a second recommendation, you would probably do it very similarly to the first! Just inform them that your plans did not go as expected and you would like to have them edit your recommendation letter for another opportunity. Good luck!