Jonathan Small throws the treasure in the Thames during the final chase. If he can't have it, no one can.