Disconnecting please help

Everytime I go to upload something from MBlock to the aruino my MBot disconnects. I am not sure why this keeps happening as this is a new issue I have come uppon. Please help, I need to complete an assignment.

No idea about MBlock or MBot. It’s normal that an certain Arduinos reset when you upload and it’s normal than those reset when you open the connection with it.

If this is e.g. an 328 based Arduino or a Mega, the above applies.