An electric fuel pump produces high fuel pressure to supply your electronic fuel injection system with plenty of pressurized fuel. The pressure doesn't go away just because you turn the engine off. You'll need to take steps to release the fuel pressure before you can remove the fuel pump or any associated parts.
Here are instructions on how to release your fuel pressure in one simple step. When you're sure there is no fuel pressure in the fuel lines or fuel pump, you can proceed with the fuel pump removal.
You will also need to disconnect the negative terminal to your battery to avoid any sparks.