The Exchange team blog has put together a nice walk-through for working with Inactive mailboxes (Exchange Plan 2) when users leave the organisation. This can be found at https://blogs.technet.microsoft.com/exchange/2019/01/29/how-to-work-with-inactive-mailboxes/