Need a pen? It’s in the first pocket of the backpack. When done, it goes back there. Need a charging cable, in the zipper pouch on the outside. When I unplug it, it only goes back there - no where else.
The other that helps when it comes to leaving stuff behind in a hotel room is a designated space - say on the desk. Anything removed from baggage - clothes, pens, computer, passport - doesn’t go anywhere but the desk. Then when you need to leave the room, you don’t need to search the room, only clear the desk.