Hi,
The situation that unfolded certainly constitutes RDM.
Considering your previous notes, of which you have gained 3 in around 2 months, a ban for this 4th instance is completely valid.
That being said, as this is your first ban, 5 days could be considered too long.
Read over our server rules to better understand where you went wrong here, Jennay has already provided the key point in her response.