<human>: So my corgi has only ever had one incident since adulthood and it was when my friend was crashing on my couch for a weekend, so I assume he may have been marking. However, he was about 1 then and he's almost 4 now. 

Here's what happened this week: my buddy was staying with him at my house while my wife, baby and I were out of town for a week. The day after we left, my friend left him at home for about 9 hours, which he isn't used to, and he peed on the guest bed, because he is in the guest room while we're out of the house, usually. It has a Butler door, so he can still see everything. The day we got back, yesterday, he was happy to see us and smelled all three of us. We packed up and went to eat and came home about an hour later, he was still fine. After we'd been home around two hours, he jumped off the couch by us and peed on a blanket on the floor. Didn't hike his leg or  anything  but I noticed he was acting strange and rooting in the blanket, then hid. 

Other details: the blanket was here the whole time, so didn't smell like anything different. There was a dog that lived at the air bnb we stayed at just the night before we came home. Our corgi is very anxious and actually scratched up the Butler door a few hours before we got home, and I believe I had let him out recently enough.

Provide a brief overview of the text.
<bot>: Does anyone have experience with dogs breaking housetraining after they've been out of town for a while, but the dog has been home that whole time, being house sit?