I had something similar happen to me, not threaten with expulsion and I kind of deserved it.
This was back in late 1990s, a group I was part of was getting a web site made on the school pages and I wanted to contribute. I ran my mouth about my dislike of the current site (I was a dumbass) and for some reason hosted the site on my local computer in my room which was accessible everywhere on the network. I wasn’t going to run it permanently, I just wanted to showcase it. That got me in some trouble, what I said got back too, I got my room connection disconnected because we weren’t supposed to run servers.
I apologized, obviously disabled the server, and eventually got reconnected.
This was back in late 1990s, a group I was part of was getting a web site made on the school pages and I wanted to contribute. I ran my mouth about my dislike of the current site (I was a dumbass) and for some reason hosted the site on my local computer in my room which was accessible everywhere on the network. I wasn’t going to run it permanently, I just wanted to showcase it. That got me in some trouble, what I said got back too, I got my room connection disconnected because we weren’t supposed to run servers.
I apologized, obviously disabled the server, and eventually got reconnected.