Beltlayer creates a connector for each underground belt in the game, to support different belt speeds. So you need to use the Beltlayer connector that corresponds to the default vanilla underground belts, instead of the connector based on a modded underground if you want them to survive that mod getting removed.