Students assume they are indemnified by the school's insurance, but in most cases this is incorrect. The insurance will pay the school/club, but the insurer can then pursue a subrogation claim against anyone they wish, including the pilot.
I don't know if this has ever happened but you bet it would if you did something which looked deliberate.