I unplugged the battery cable while the engine is running and the engine shut off. Is this normal? Should the engine still be on when I unplug the battery cable?
Yes, it's normal and normally takes out the alternator in the process.
That used to work on old cars using generators, but doesn't work with alternators.