you can close countainers with E if you select the same container again. Is it better to close it if you press E anywhere else? Also the stuck npc is the dummy npc I used to test things on and forgor to remove.
Yeah if you open a container with E I think it should always close if you press E again