I managed a return trip from Duna. The trip back was complicated by the exit burn from Duna insisting I was increasing my apoapsis from Kerbol (the sun) until I was out of Duna's sphere of influence. That meant I had to guess what my orbit looked like on leaving Duna, and made it next to impossible to get an intercept that brought me home. My poor Kerbal spent several years in space.