Rather reminds me of an incident about 20 years ago in Ramsgate.
On passage back from Cowes Week we stopped In Ramsgate, in the days before all the jetties were installed. Everyone rafted up as was usual (15 boats thick) alongside the inside of the outer (as it was then) wall.
We all clambered ashore and up the almost vertical ladders (not pleasant being a vertigo sufferer) for the mandatory few beers.
Returning later we were met with verbal abuse from a Belgian yacht that was the inside boat, he really didn't like people clambering over his foredeck.
We retired to bed, around 4 AM we suddenly felt a huge crash - jumped on deck to find we were outside the harbour bashing against the sea wall and still lashed to and rafted up with 13 other boats. Our polite Belgian friend had gone to sea and just cast everyone off.
With judicious manouvrering, we managed to get the raft motored back inside the harbour and tied up complete against the wall. There were only a couple of boats doing this, us and a Dutch boat at the other side of the raft!
In the morning we discovered that some of the boats didn't have crews on board, so we were very pleased we hadn't just cast ourselves off from the raft and looked after ourselves.
Lesson learnt = always ensure you know when boats inside you are leaving, and always put nice heavy lines ashore, bow & stern, with both ends made fast on one's own boat, passed through an eye ashore so no one can cast you off without coming on board your own boat! At least you then stand a chance of waking up, or at least only being cast-off from one end! (I won't mention the bit about being careful who you raft outside of, but I think it makes sense to establish a polite introduction if nothing else)