diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
index decf0b87cf..e697043606 100644
--- src/wp-includes/class-wp-customize-manager.php
+++ src/wp-includes/class-wp-customize-manager.php
@@ -3796,9 +3796,12 @@ final class WP_Customize_Manager {
 	 * @since 3.4.0
 	 *
 	 * @param string $id Customize Setting ID.
+	 * @return WP_Customize_Setting|null The removed setting object, if any.
 	 */
 	public function remove_setting( $id ) {
+		$setting = $this->get_setting( $id );
 		unset( $this->settings[ $id ] );
+		return $setting;
 	}
 
 	/**
@@ -3852,6 +3855,7 @@ final class WP_Customize_Manager {
 	 * @since 4.0.0
 	 *
 	 * @param string $id Panel ID to remove.
+	 * @return WP_Customize_Panel|null The removed panel object, if any.
 	 */
 	public function remove_panel( $id ) {
 		// Removing core components this way is _doing_it_wrong().
@@ -3865,7 +3869,10 @@ final class WP_Customize_Manager {
 
 			_doing_it_wrong( __METHOD__, $message, '4.5.0' );
 		}
+
+		$panel = $this->get_panel( $id );
 		unset( $this->panels[ $id ] );
+		return $panel;
 	}
 
 	/**
@@ -3948,9 +3955,12 @@ final class WP_Customize_Manager {
 	 * @since 3.4.0
 	 *
 	 * @param string $id Section ID.
+	 * @return WP_Customize_Section|null The removed section object, if any.
 	 */
 	public function remove_section( $id ) {
+		$section = $this->get_section( $id );
 		unset( $this->sections[ $id ] );
+		return $section;
 	}
 
 	/**
@@ -4040,9 +4050,12 @@ final class WP_Customize_Manager {
 	 * @since 3.4.0
 	 *
 	 * @param string $id ID of the control.
+	 * @return WP_Customize_Control|null The removed control object, if any.
 	 */
 	public function remove_control( $id ) {
+		$control = $this->get_control( $id );
 		unset( $this->controls[ $id ] );
+		return $control;
 	}
 
 	/**
