Tampa Bay Rays manager Joe Maddon has exercised an opt-out clause in his contract and is leaving the team immediately.