Cancellation means that anything you basically await on is automatically canceled. This is called level cancellation in contrast to the edge cancellation mechanism used by any AC GIO. So when those tasks return back, so all the tasks are done, then the code just goes forward from this context manager. If they were either canceled or successful, then thecode just goes forward to the all tasks finished part.