MSD and third-party lease buyout question

My lease isn’t up for a few months but with the crazy new and used car market, I’m exploring options.
Anyone know what would happen to a Toyota lease if I did a third-party lease buyout?
I assume the MSDs would come back to me but wanted to make sure.

TIA!

Yes MSDs come back to you unless they’re included in your buyout price then they would be kept and your buyout will be lower the MSD amount.