It could be argued that from the look on Boris’s face the next day he didn’t think remain would lose either. I have no doubt that he 100% piggybacked it as a route into No. 10 and still thinks that actually leaving was a very stupid thing to do. Had leave lost he would probably still been elected as PM as he would still have the support of disgruntled leave voters.
One does not, as the co-captain of a rich frigate put oneself into a rowing boat with a few crew members and then set adrift in the ocean in the vain hope that you might find land and something to eat or someone will pick you up when back on the boat you had it all.