iMovie is not uploading videos to YouTube
I don't have much experience with iMovie, but I would suggest exporting your video, then uploading it to YouTube. In the past I have used inbuilt uploading mechanics and they don't tend to be the most reliable of things.