Welcome to the forums. If I read your post correctly, you have an eyelet around the hole where the shore power cord goes through. If that is the case, you will probably have to remove it to get the old cord out. Just remember to put it, or another one like it, back in the hole so the wire won't chafe.
Meddle not in the affairs of dragons, for you are crunchy, and taste good with ketchup.