You can't transfer registration to an interstate owner.
In this case, you remove the plates and hand them into the authority. The new owner can obtain an unregistered vehicle permit to tow the trailer home.
Once home in NSW, they will need to get a blue slip and register in NSW.
Cheers,
James