Removing distributor

Try a small amount of heat. Propane torch. Around the base area. There is a rubber o ring that might be adheared to the block. Go easy with the heat. Had this happen with a crank position sensor. Could twist and wiggle but would not pull out.