The bulk of India then was not controlled by Porus, but by the Nanda dynasty, centered at Pataliputra.
I believe Alexander lost heart after his horse, Bucephelus, died from a wound received in the battle against Porus.