It was wrong to stay in the property without an agreement. Be that as it may, a criminal case for trespass will be made out against you only if the owner can produce evidence which can prove that you stayed in his property without an agreement and did not vacate it on being told to do so. He can recover the measne profits through a separate suit for recovery. Unless he files the case there is nothing you are required to do.