There's a narrow corridor with me and other two creatures in it, an ally and an enemy:
WWWWWW
----M--AE----
WWWWWW
M stands for "me", A for "ally", E for "enemy" and W for "wall".
With my last possible action this turn, I want to move past E, in order to flank them, using acrobatics - A lets me pass but I fail the acrobatics check, and my move suddenly ends.
According to this question, I can't end my turn in the same square as A.
Where am I at the end of the move action?
What if there are other empty squares near to both A and E, like if E is in the first square of a corridor?