Transfer CCD from contract when it was deployed

Can I somehow make a transfer CCD contract → contract_owner if I am a contract owner?

I have some funds on my contract in CCD, but dunno, what is the actual way to invoke transfer CCD is, maybe contract_adrressowner from JS?

There is no “default” way of doing this.

The only way a contract can transfer the CCD it owns is if it has as entrypoint which executes a transfer operation. This needs to be added explicitly, and in most contracts transferring to an owner account is not something that you want. The “owner” does not have any special rights in the contract. It is just the creator.