You should be able to exit it by pressing wasd and other movements like space.
(You need to press CTRL or click when you dont press anything after dying. Trying to exit using wasd or other keys doesn't remove you from spectating your corpse.)
This is not a bug. This is as intended. Also "Ctrl" does not do anything. The only thing to let you exit early is clicking so it doesn't exit erroneously.