From the Super Mario Wiki
He is always seen in the room at the second floor of the mansion. Although he acts "uppity", deep inside, he really hates being alone and loves when people talk to him. He tells the heroes the passcode for the VIP generator room for 100 rubees.
Later, after Mimi leaves, he said he misses teaching new prisoners "the ropes" of being one and admits to being lonely.