McGregor had already announced his retirement in March 2016, but renounced the decision a few months later.

UFC’s ‘Notorious’ Conor McGregor Announces Retirement From MMA
UFC champion Conor McGregor.