Pete Mackanin will not return as the manager of the Philadelphia Phillies in 2018, the team announced Friday.

Mackanin instead has agreed to an extension to serve as the special assistant to general manager Matt Klentak "for 2018 and beyond," according to a team statement.