A retention mechanism for retaining an agricultural machine in engagement with a fork assembly. The mechanism may be provided on the fork assembly, agricultural machine or split between them. The retention mechanism may be actuated by a foot associated with either the fork assembly or the agricultural machine. The retention mechanism may employ pivoting latches or a clamping mechanism that clamps upon the forks or tines.