There is a bug that prevents leaving iedit state sometimes. The following issue has a simple fix until a pr is accepted on the iedit project https://github.com/syl20bnr/spacemacs/issues/13849