If it happened again I wonder whether sitting in a warm bath might help?
I had a similar one-off problem just after lockdown started, with constipation lasting around 7-8 days. Nothing protruding but a very uncomfortable pressure feeling. I always eat plenty of fruit and veg , bran and drink water so I'm not sure what caused it. I tried natural senna tablets but they had no effect. I tried lots of prunes, orange juice, high bran cereal, oats, but no luck. I tried exercise (do lots anyway) but I was afraid to walk/run too far as I kept getting false alarms.
I then got a craving for milk of magnesia - a memory from childhood- and also syrup of figs. I went out and bought both and within 24 hours the matter was cleared up.
I'm surprised PP hasn't been on suggesting asking a mathematician- they work it out with a pencil