You can replace a surface with an another surface using Replace command.
The operating mode described here is valid for replacing the geometrical elements used in the definition of any Part Design features.
The pocket and the hole are now trimmed by Extrusion 2. Extrusion 1 has been deleted.