Looking back at Bret Hart/Shamrock on Raw, the ending was random but wild.
Bret gets Shamrock into Sharpshooter
Shamrock reverses into Ankle Lock but knocks out ref
Bret taps (first time ever)
Bret whacks Shamrock with chair from behind, puts him into Sharpshooter again
HBK comes down and nails Bret with the SCM and starts beating on him.
Shamrock gets up, thinks HBK hit him with the chair, does a Brazilian war cry and starts attacking HBK, executes a belly-to-belly suplex on him and just pulverizes Shawn.
#fukkery ensues with refs
Shamrock celebrates to crowd while HBK and Bret are both literally

as DX and the Hart Foundation rush to ringside to check on them.
Starts at 7:43
Bret Hart vs. Ken Shamrock (RAW 21.10.97) - YouTube