Depends, the pile will come back up, maybe not fully, a few good hoovers should sort it.
If it has a thick underlay and hessian backed carpet, then over time the hessian can re-shape so wont come back aswell.
The landlord cannot knock money of for that!!!