To reassign a process to your current pty, use the process's id
reptyr <pid>