Nimesh and Alexander answered the question about Jamf Now.
Thre are 2 possibilities to get rid of it.
First of all: Ask your friend why they did that with your device and ask them to remove it from jamf Now management.
In Order to do that you must follow few simple steps:
- Log Into Jamf
- Select Yout Device
- Click on three dots on the right upper corner
- Click unenroll your device.
This will remove all Jamf now Setting and your device won't be controlled over this MDM anymore.
Second option works ONLY IF your device was not pre-enrolled using DEP. (in that case you must ask your friend or someone at their company to remoteremove that serial number from Apple's DEP portal since that will drive re-enrollment into MDM). InIf either not the case, back up your Mac data so you can restore to the "before Jamf" state.
You can also try new clean installation of your Mac once you have a backup. You will then know if it's enrolled through DEP or if this was a simple MDM enrollment that was optional and not forced via Apple.
Good Luck!