I don't get this cloud mining

So let's say I buy 1TH/s, that's worth
BTC2.9 then I mine for 30 days. Then after that, I don't want to mine anymore.
Do I get my
BTC2.9 back plus my earnings from mining??
not after you decide to do mining in the cloud PBmining
then there will be a contract for 5 years, after 5 years of the contract will be completed
and for 5 years you will get the added benefit of capital