If an injector stays in the head while the rail comes out, you have broken the retaining clip. Stop. You will need to fish the clip out of the bore later.

After removal, you will see why your engine ran poorly.