Having read your post I took a look at captain Foleys marker today and it gives a death date of 1880. So I think he survived the war! Also he is my grandpa on my mother’s side 5 times removed.