Had to pee really really bad and had to hold it but then all of a sudden it felt like I didn't have to go at all without going pee. What could this be?

Bladder spasm. You should pee when you get the urge but sometimes the urge goes away. Pee anyway so as not to stress your bladder which may get more irritable.