Really depends on your luck to have a problem-free tenant, nobody can guarantee, even you or me may got laid off one day, who knows?
And then, also depends on your leasing contract, there are fixed term, periodic, and month to month lease. But despite which kind of lease, generally speaking the government/court tends to protect the tenant side rather than the landlord side if anything happens, unless the landlord has very valid proof.
It is somehow risky to rent out your investment ga la, but at the same time you get the rental in return, means someone is paying for (or most part of) your mortgage, your price is the risk!