Even if the custom module is removed, actions and menu fields remain visible in Settings>Technical>Actions>Actions and Settings>Technical>User Interface>Menu Items.
Furthermore, the module is accessible to users in their area to grant privileges. How do I fix this?