Got banned for being inactive

I was playing slayer with my friend and we left for a min and got kicked for inactivity. We came back to find out I had been banned. Someone plz help