An IMAP migration copies, it does not move. Messages on the source stay untouched from start to finish, whatever happens to the process.
Before copying anything, the tool checks what the destination already has and skips the matches. So a second run after an interruption does not start over: it walks the lists, sees what is already there, and copies the remainder.
That also makes the repeat cheap. If eight of ten gigabytes made it, the second pass costs the time of two, not of ten.