I do not know this machine but offer the following comments after looking at the parts illustrations.
The valve does not have a detent but rather a return spring. Likely the deck only raises while the control lever is being pulled.
Check for any binding or rusty pivots for the control lever.
A broken return spring is possible but not likely. In view of the small parts inside the valve, I suggest disassembly be left to someone experienced.
Operating with the valve needing to be pushed back once the deck is raised is not a good solution for more than a day or two as inevitably, it does not get pushed back and the system overheats because the relief valve is continually discharging fluid.
View attachment 44188
Dave