It appears that a deal has been agreed to regarding President Manuel Zelaya. (also here)
Whether or not Zelaya needed to be removed from office, what happened was a coup. He was abducted at gunpoint by the military and put in exile: That’s a coup.
If there had been a vote in parliament, or an order from the courts to arrest him, that would be a legal removal.
I will note here that the lack of involvement of Obama and the State Department is both striking and depressing.