You could stick a 45 degree soil branch onto it, and cap the top, that way you've directed the pipe back outside.
Leave your outer skin as you have it in the picture, you can then bridge over it above the capped off section and continue the wall up.
You'd need an external cover piece, (bit...