 Following his retirement, Riley settled at Kent Island, Maryland and was active in the Naval Instute's oral history program.He died at his home on January 17, 1973, aged 68 and was buried with full military honors at the United States Naval Academy Cemetery in Annapolis, Maryland, where his headstone proclaims him to have been a "ninth-generation Marylander.