PDT rule causing not able to close the losing positon

My day trade reach the limit and caused myself against PDT rule. Then I am not able to close the position of them. After several attempts, finally I were able to sell it but with loss .

Usually, I was able to closed the position in other broker.

Next time what can I do to close the position? Should I call the Alpaca to close for it.

Vincent Chan