In particular it may send its proc/auth ports back to the original task, and the original proc port may then be recovered by a simple
proc_task2proc (other_proc, mach_task_self (), &my_proc)
The exact auth port I don't think can be recovered, but at least you now have another auth port with your effective uids/gids.