In a scenario where a defender army of a realm gets defeated, and the attacker leaves the battle, you cannot make the defending army leave from the client. Resources of the realm remain locked and you cannot deposit to it either.
Steps to reproduce the behavior:
Create defender army for realm A
Attack realm A with bigger army from realm B
realm B army leaves battle
Attempt to deposit resources with another realm A army to realm A
In a scenario where a defender army of a realm gets defeated, and the attacker leaves the battle, you cannot make the defending army leave from the client. Resources of the realm remain locked and you cannot deposit to it either.
Steps to reproduce the behavior: