The main idea is that Rikki, the mongoose, is in a new environment, which makes him restless during the night, busy exploring the area. Supporting details are that he sniffed the big mans cigar, put his nose into ink, basically just fiddled with the humans personal belongings (because they were new to him)