Can I unplug EBike charger during charge or will it harm the battery

Can I unplug the charger from the battery if it's not fully charged yet?