How can an UI Component retrieve its parent?

You can use uiRegistry.get(this.parentName) for it.
See the working example from the core below.
It retrieves the grandparent: