he had insisted on surrendering the main cabin once temeraire had been shifted to the deck ; riley had at last acquiesced , but he compensated for his guilt at displacing his former captain by inviting laurence to dine with him virtually every night .