If the law would support arresting the President, that should have been the action taken with a subsequent trial a verdict under honduran law.
The illegal nature of the action to remove Zelayas was the reason for claiming that he had resigned from his position.