Drag and drop a part into a sub-assembly

In the assembly, if I accidentally drag and drop a part into a sub-assembly - is there a way to undo this action? or another way to drag the part out

I've tried but failed -

Thx

SolidworksAssemblies