How can I transfer forum ownership?

You don’t state if it’s a self-install, but if it is:

  1. Save a back-up of the forum including uploads and share this on Dropbox or equivalent with your counterparty.

  2. Transfer the ownership of the domain using the process recommended by your registrar.

I recommend you stop your server and ask the new owner to create a new server.