Suppose a hero has a doom casted on it and when he is about to die, I put him in astral imprisonment, so will he continue taking damage even when he is banished?
There are more damage over time spells and shadow demon also has a banishing spell. So what happen in those cases?