I don't know your husband, and I certainly was not there in the hotel room, but either way, he should not have been in the same room at all alone overnight like that.
Just not cool, and has given you reason to worry. He should have been more thoughtful, and not put himself in that position.