Travel third national country or EU while application processing

Hi all,  does anyone know am I allow to visit other EU countries or third national country while waiting for my e-residency? Would they keep my passport when is still processing?

If your passport was being retained I would have thought it impossible to travel elsewhere.