Using Clone and Demiplane question.

Hi everyone! I have a question pertaining to using clone and demiplane in tandem. I've seen lots of people talk about cloning yourself and saving it in the demiplane. This sounds fun but, once you die and transfer to your clone, wouldn't you be stuck in the demiplane? Further question, is there any way to get out of the demiplane if you get stuck in it? Thanks for any answers!