Companions will retain any friendships formed during the getaway, as well as any skills they acquired. However, relationships and progress outside of the getaway won't be affected.