See immo FAQ for troubleshooting steps.
remove both battery cables, touch together, step on brakes to discharge any residual juice. Can also leave key on for 30 min.
To delete, you need a chip reflash. There's also some hacking tools to bypass but they're buggy and will leave the CEL on...personally I wouldn't use them.