There was a lot of startled squeaking/chirping when I tapped the wall where I was hearing it, followed by silence.
If it was a bird, it probably flew away.
If it was a mouse, it’s probably dead, because I’m on the second floor.
There’s also the chance that it’s a bat given that I only have been hearing it at night.
Either that or a really large bug