My het pied hid in the closet for two weeks. Turned up in the living room one morning, knocking things off of tables and trying to climb the windows.
The talcum powder/flour along the walls trick actually works pretty well. So does leaving out water bowls (also with flour around them, so you know if they've been visited.)