Super Glue to secure motor wire base

Is it allowed to use super glue to secure the base of a motor wire going into the motor? One of the black “heads” kind of came out.

Sorry if it is difficult to see.

Thats not allowed, Pull off the top case and wrap it in electrical tape instead.

@Carl
The green case (of the motor)?

What do you mean by base of a motor wire and one of the black “heads”?

@Barin
I mean this:

Yea, the inspection rubric states that you cant glue or weld anything.

Then I would suggest what @Carl said. Take off the green cover, tear off the entire strain relief (the black rubber), wrap the individual wires with electrical tape separately, and put the green cover back such that it holds the electrical tape in place.

Thank you all!