Do you know if you lose your hero completely in this situation.my only point is that, at EOB, if you only have totally raised stacks left, it means you have essentially "null" stacks, and that hero disappears after the battle (so yeah, you can "win" the battle, but you still lose your hero).
In situation happened to me I won the battle, lose my hero, but my hero was allowed to hire again from tavern.