How to remove component runtime?

for me calling ->UnregisterComponent(); would also crash Unreal… Please help