Carp in saltwater, wow. I bet that was a surprised catch.
You are correct dangles. It is recommended that you kill the carp, but it isn't illegal to release it where you caught it. It is only illegal to transport the fish to another location and release it.