AITA for not bailing my friend out of trouble after I warned him not to pull a prank

I 16m have a friend name Jackson 17m, Jackson told me he was gonna sneak in the school at night and change the grades as a joke, I warned him that it was stupid and would get him in loads of trouble but he didn’t listen, fast forward 3 days I heard from a mutual friend that Jackson got expelled and was arrested for trespassing, he got released a week later and he is pissed saying I didn’t stop him.

UPDATE: Me and Jackson aren’t friends anymore, he blocked me on all socials, then his dad called me saying that I should have done more, I responded that he wouldn’t listen so it wasn’t my problem, we ended up having a heated argument which ended with his dad calling me a B*tch and hanging up, my family and other friends support me but I wonder if there was more that I could have done to stop him.