 " The Boat " was written by executive producer Dan Sterling , his first credit for the series . He was hired before production on the ninth season started as executive producer , to replace Mindy Kaling , who departed full @-@ time involvement on the series following the eighth season . The episode was also directed by series cast member John Krasinski , his third directing credit for the series after the sixth season episode " Sabre " and the eighth season episode , " Lotto " . The episode features the return of Andy 's brother , Walter Jr . , played by Josh Groban , who is now a drunk . He previously appeared in the eighth season episode , " Garden Party " . The episode also guest stars Andy Buckley in voice only . Buckley portrayed David Wallace , the CFO of Dunder Mifflin from seasons two to six . He was recently brought back on board near the end of season eight . Following this episode , Ed Helms will be written out of several episodes , in order to film The Hangover Part III . 
