He leaves Dunder Mifflin temporarily to form the Michael Scott Paper Company with Pam and Ryan toward the end of the 5th season and shares a co-managerial position with Jim Halpert during a 6th season arc from "The Meeting" to "The Manager and the Salesman". 